puppeteer/new-docs/puppeteer.frame.__.md
Jack Franklin 24cb6a28ad
chore(docs): document Frame class (#6188)
* chore: document Frame class
2020-07-09 14:22:58 +01:00

696 B

Home > puppeteer > Frame > $$

Frame.$$() method

This runs document.querySelectorAll in the frame and returns the result.

Signature:

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

Parameters

Parameter Type Description
selector string a selector to search for

Returns:

Promise<ElementHandle[]>

An array of element handles pointing to the found frame elements.