puppeteer / examples

Use case-driven examples for using Puppeteer and headless chrome
https://developers.google.com/web/tools/puppeteer/
Apache License 2.0
2.37k stars 302 forks source link

Add basic auth option to lazyimages_without_scroll_events.js #36

Open diegodurrod opened 4 years ago

diegodurrod commented 4 years ago

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