mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
Introduce Page.$ and Page.$$ (#75)
This patch introduces Page.$ and Page.$$ methods which are aliases for `document.querySelector` and `document.querySelectorAll`. Fixes #78.
This commit is contained in:
committed by
Andrey Lushnikov
parent
bf7698e8f8
commit
117a128b42
@@ -1,5 +1,9 @@
|
||||
### class: Foo
|
||||
|
||||
#### foo.$()
|
||||
|
||||
#### foo.money$$money()
|
||||
|
||||
#### foo.proceed()
|
||||
|
||||
#### foo.start()
|
||||
|
||||
@@ -7,4 +7,10 @@ class Foo {
|
||||
|
||||
get zzz() {
|
||||
}
|
||||
|
||||
$() {
|
||||
}
|
||||
|
||||
money$$money() {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user