-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
Add support for Basic Auth #254
Comments
Hi! |
Seems it will come in FF54 (already works in Chrome): https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/webRequest/onAuthRequired |
👍🏻 |
To make it clear, this works in Chrome at the moment, we just wait for @tobli fix in Selenium to be released and FF 54 to be released. |
This doesn't work for me in Version 61.0.3163.100 (Official Build) (64-bit) on Mac OS Using: sitespeed.io --browsertime.basicAuth user@password http://www.example.com If I put:
I also tried: that didn't work |
@mrjcleaver if you try |
Sure does... |
Ok. Looks like it must have a trailing slash on the URL! Works now, thanks.
|
This should work with our web extension. Please re-open if there are still issues. |
Hello, the trailing slash makes it work, but not crawling though... Is there any way to have basic auth with depth =2 ? |
We would need to test URLs that are HTTP Auth protected.
Right now the only way is to add the name/pw in front of the URL but it would of course be nice to not need that.
Selenium does not provide the functionality out of the box, so it seems people modify the URL in their scripts and manipulate the browser preferences. Eg : http://seleniumwebdrivertrainings.com/how-to-perform-basic-authentication-for-firefoxdriver-chromedriver-iedriver-in-selenium-webdriver/
Pre-1.0, the option has existed with this syntax : basicAuth=login:pwd
The text was updated successfully, but these errors were encountered: