f07ad2c661
This PR updates the docs regarding configuring puppeteer. In addition, some changes have been made to the documentation generator to show default values on the documentation site. Also fixes: https://github.com/puppeteer/puppeteer/pull/9144
295 B
295 B
sidebar_label |
---|
Page.mainFrame |
Page.mainFrame() method
Signature:
class Page {
mainFrame(): Frame;
}
Returns:
The page's main frame.
Remarks
Page is guaranteed to have a main frame which persists during navigations.