getPuppeteer
Get the Puppeteer Browser instance
to run commands with Puppeteer. Note that all Puppeteer commands are
asynchronous by default so in order to interchange between sync and async
execution make sure to wrap your Puppeteer calls within a browser.call
commands as shown in the example.
info
Note that using Puppeteer requires support for Chrome DevTools protocol and e.g. can not be used when running automated tests in the cloud. Find out more in the Automation Protocols section.
#
Usage#
ExamplegetPuppeteer.test.js