check abstract method

FutureOr<void> check(
  1. String selector
)

Checks a checkbox or radio button.

selector is the CSS selector for the checkbox or radio button.

Example:

await browser.check('input[name="terms"]');
await browser.check('#newsletter-signup');

Implementation

FutureOr<void> check(String selector);