Home > puppeteer > Frame > waitForSelector
Signature:
waitForSelector(selector: string, options?: WaitForSelectorOptions): Promise<ElementHandle | null>;
Parameter | Type | Description |
---|---|---|
selector | string | |
options | WaitForSelectorOptions |
Returns:
Promise<ElementHandle | null>