mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: refactor FrameManager and fix docs (#8770)
This commit is contained in:
@@ -4,7 +4,7 @@ sidebar_label: Frame.$$
|
||||
|
||||
# Frame.$$() method
|
||||
|
||||
This runs `document.querySelectorAll` in the frame and returns the result.
|
||||
Queries the frame for all elements matching the given selector.
|
||||
|
||||
**Signature:**
|
||||
|
||||
@@ -18,12 +18,12 @@ class Frame {
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | -------- | ------------------------ |
|
||||
| selector | Selector | a selector to search for |
|
||||
| Parameter | Type | Description |
|
||||
| --------- | -------- | -------------------------- |
|
||||
| selector | Selector | The selector to query for. |
|
||||
|
||||
**Returns:**
|
||||
|
||||
Promise<Array<[ElementHandle](./puppeteer.elementhandle.md)<[NodeFor](./puppeteer.nodefor.md)<Selector>>>>
|
||||
|
||||
An array of element handles pointing to the found frame elements.
|
||||
An array of [element handles](./puppeteer.elementhandle.md) that point to elements matching the given selector.
|
||||
|
||||
Reference in New Issue
Block a user