Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Authentication #70

Closed
vsulak opened this issue May 4, 2020 · 3 comments
Closed

[FEATURE] Authentication #70

vsulak opened this issue May 4, 2020 · 3 comments

Comments

@vsulak
Copy link

vsulak commented May 4, 2020

Please add page method authenticate. It would be useful for dev environments behind Basic Auth. Thank you

https://pptr.dev/#?product=Puppeteer&version=v3.0.2&show=api-pageauthenticatecredentials

@wideareashb
Copy link

You can do this by adding a step at the beginning of your test which looks like this:

image

Would prefer it to be an option in the test but does work

@vsulak
Copy link
Author

vsulak commented May 4, 2020

Yes, I can override it. For now I use authentication in URL but original Puppeteer means would be more elegant.

@dsheiko
Copy link
Owner

dsheiko commented May 26, 2020

Addressed in v.3.2.2, added example into Demo project

@dsheiko dsheiko closed this as completed May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants