mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
20 lines
311 B
Markdown
20 lines
311 B
Markdown
|
### class: Foo
|
||
|
|
||
|
This is a class.
|
||
|
|
||
|
#### event: 'frame'
|
||
|
- <[Frame]>
|
||
|
|
||
|
This event is dispatched.
|
||
|
|
||
|
#### foo.$(selector)
|
||
|
- `selector` <[string]> A selector to query page for
|
||
|
- returns: <[Promise]<[ElementHandle]>>
|
||
|
|
||
|
The method runs document.querySelector.
|
||
|
|
||
|
#### foo.url
|
||
|
- <[string]>
|
||
|
|
||
|
Contains the URL of the request.
|