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>