mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs(api.md): add missing parentheses after page.mainFrame (#1738)
This commit is contained in:
parent
7c9104e1bc
commit
8c392b7ee8
@ -1035,7 +1035,7 @@ page.select('select#colors', 'blue'); // single selection
|
||||
page.select('select#colors', 'red', 'green', 'blue'); // multiple selections
|
||||
```
|
||||
|
||||
Shortcut for [page.mainFrame.select()](#frameselectselector-values)
|
||||
Shortcut for [page.mainFrame().select()](#frameselectselector-values)
|
||||
|
||||
#### page.setContent(html)
|
||||
- `html` <[string]> HTML markup to assign to the page.
|
||||
|
Loading…
Reference in New Issue
Block a user