docs(api.md): add missing parentheses after page.mainFrame (#1738)

This commit is contained in:
Kamakura Masaya 2018-01-09 10:20:02 +09:00 committed by Andrey Lushnikov
parent 7c9104e1bc
commit 8c392b7ee8

View File

@ -1035,7 +1035,7 @@ page.select('select#colors', 'blue'); // single selection
page.select('select#colors', 'red', 'green', 'blue'); // multiple selections 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) #### page.setContent(html)
- `html` <[string]> HTML markup to assign to the page. - `html` <[string]> HTML markup to assign to the page.