mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
702 B
702 B
Home > puppeteer > ElementHandle > $$
ElementHandle.$$() method
Runs element.querySelectorAll
within the page. If no elements match the selector, the return value resolves to []
.
Signature:
$$<T extends Element = Element>(selector: string): Promise<Array<ElementHandle<T>>>;
Parameters
Parameter | Type | Description |
---|---|---|
selector | string |
Returns:
Promise<Array<ElementHandle<T>>>