puppeteer/new-docs/puppeteer.elementhandle.__.md
2020-06-25 15:49:35 +01:00

687 B

Home > puppeteer > ElementHandle > $$

ElementHandle.$$() method

Runs element.querySelectorAll within the page. If no elements match the selector, the return value resolves to [].

Signature:

$$(selector: string): Promise<ElementHandle[]>;

Parameters

Parameter Type Description
selector string

Returns:

Promise<ElementHandle[]>