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