Function waitForElement
Type Parameters
- E extends Element = TestQueriedElement
Parameters
- selector: Selector
either a direct string or an array of [selector,index,selector,index,...]
Returns Promise<E>
The requested element (will throw on timeout)
either a direct string or an array of [selector,index,selector,index,...]
The requested element (will throw on timeout)
Wait for an element in the DOM to appear and become clickable. Scroll into view where needed