2017-10-02 18:45:00 +00:00
|
|
|
### class: Foo
|
|
|
|
|
|
|
|
This is a class.
|
|
|
|
|
|
|
|
#### event: 'frame'
|
2018-11-21 22:49:08 +00:00
|
|
|
- <[Frame]>
|
2017-10-02 18:45:00 +00:00
|
|
|
|
|
|
|
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.
|
2018-11-21 22:49:08 +00:00
|
|
|
|
|
|
|
[string]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type "String"
|
|
|
|
[Promise]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise "Promise"
|
|
|
|
[ElementHandle]: # "ElementHandle"
|
|
|
|
[ElementHandle]: # "Frame"
|