puppeteer / examples

Use case-driven examples for using Puppeteer and headless chrome

Home Page:https://developers.google.com/web/tools/puppeteer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add basic auth option to lazyimages_without_scroll_events.js

diegodurrod opened this issue · comments

Sometimes people wants to tests lazy loads on basic auth protected websites (usually on preproduction environment).

I wish propose a new yarg option to pass basic auth to website in the file lazyimages_without_scroll_events.js.

Eg: node lazyimages_without_scroll_events.js -b username::password -u https://example.com