34ff00e2fe
* fix: added parts of website * fix: removed unnecessary lines * fix: updated contributing.md * fix: added parts of sidebar * fix: added all APIs * fix: added version 10.0.0 Co-authored-by: Jack Franklin <jacktfranklin@chromium.org>
803 B
803 B
Page.$$() method
The method runs document.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 | A selector to query page for |
Returns:
Promise<Array<ElementHandle<T>>>
Remarks
Shortcut for Page.mainFrame().$$(selector).