![]() To understand frames, you can think of frames as elements. The EventEmitter class that many Puppeteer classes extend.įile choosers let you react to the page requesting for a file. The Coverage class provides methods to gather information about parts of JavaScript and CSS that were used by the page.ĭevice request prompts let you respond to the page requesting for a device through an API like WebBluetooth.ĭialog instances are dispatched by the Page via the dialog event.ĮlementHandle represents an in-page DOM element. The CDPSession instances are used to talk raw Chrome Devtools Protocol.ĬonsoleMessage objects are dispatched by page via the 'console' event. The method Browser.newPage creates a page in the default browser context. When a browser is launched, it has a single BrowserContext used by default. The accessibility tree is used by assistive technology such as screen readers or switches.Ī Browser is created when Puppeteer connects to a browser instance, either through PuppeteerNode.launch() or nnect().īrowserContexts provide a way to operate multiple independent browser sessions. The Accessibility class provides methods for inspecting the browser's accessibility tree.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |