How to use [puppeteer.wait-for-selector]
The reference page of puppeteer.wait-for-selector has its arguments, constraints and declaration.
Waits until a selector appears in the DOM.
Arguments:
- Slot value - Session identifier.
selector- CSS selector to wait for.timeout- Timeout in milliseconds.visible- Boolean. Require element to be visible.hidden- Boolean. Require element to be hidden.
Examples:
puppeteer.wait-for-selector:SESSION_ID
selector:"#name"
visible:true