mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
695 B
695 B
Home > puppeteer > Frame > waitForSelector
Frame.waitForSelector() method
Signature:
waitForSelector(selector: string, options?: WaitForSelectorOptions): Promise<ElementHandle | null>;
Parameters
Parameter | Type | Description |
---|---|---|
selector | string | |
options | WaitForSelectorOptions |
Returns:
Promise<ElementHandle | null>