Last updated
Last updated
Python implementation of puppeteer
Async innately so can have multiple browsers running!
.goto('example.com')
.screenshot({path: 'filename.png'})
.type('#searchbox input', 'Headless Chrome', {delay: 100});
.waitForSelector([someSelector])
.click([someSelector])
Page.querySelector()
/Page.querySelectorAll()
/Page.xpath()
instead ofPage.$()
/Page.$$()
/Page.$x()
. Pyppeteer also has shorthands for these methods, Page.J()
, Page.JJ()
, and Page.Jx()
.