Password-protected pages
gilgongo opened this issue · 4 comments
Great, great work on screenshoteer! I've been looking for a good scriptable solution to screen shots for a long time.
One question: what, if any, strategies might there be to get screenshoteer to work with URLs that require authentication beyond basic http auth?
Thanks!
One question: what, if any, strategies might there be to get screenshoteer to work with URLs that require authentication beyond basic http auth?
I'm open to suggestions .. and new ideas.
I wondered, for example whether screenshoteer could be configured to look for a username/password field on the page and, if found, supply credentials. Perhaps a config file containing:
User_field: [nameofinputfield]
Passwd_field: [nameofinputfield]
Username: johndoe@domain.com
Password: password
For this kind of scenario I think is the best to make custom scripts for the targeted site.
Here are some examples: https://github.com/checkly/puppeteer-examples/tree/master/3.%20login
Ah OK - will have a look. Thanks!