mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-16 07:33:35 +03:00
25 lines
586 B
Markdown
25 lines
586 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.
|
||
|
|
||
|
[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"
|