jupyter notebook like development environment for puppeteer. Build puppeteer apps with least effort and best result.
requirements:
- nodejs latest version
- Chromium browser
# clone this repo
git clone https://github.com/adnangif/puppeteer_ui
# navigate to puppeteer_ui folder
cd puppeteer_ui
# install dependancy
npm install
# now to run the APP
node index.js
Or,
# may take upto 20minutes depending on internet connection
npm i -g puppeteer_steroids
# run from command line
puppeteer_ui
After running this code, a link should open on your default browser At: http://localhost:3000 And another blank page chromium or google chrome browser instance will open with puppeteer in charge.
By default, page object is given to do any kind of operation, for Example:
await page.goto("https://google.com/")
await page.type("input", "github.com/adnangif",{delay:200})
await page.type("input", "\n",{delay:200})
await page.click("h3")
await page.click("span[title='puppeteer_ui']")
special thanks to zbz343 for creating this awesome readme