warningUse locator-based locator.tap([options]) instead.
Tap the first element that matches the selector.
Parameter | Type | Default | Description |
---|---|---|---|
selector | string | '' | A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used. |
options | object | null |