My application url throws a authentication pop up on browser.
On my local chrome browser i have installed a extension “MultiPass for HTTP basic authentication”. My selenium java script works fine on local chrome browser.
I have developed a Azure pipeline to execute the tests in saucelabs. As i dont have control of extensions on saucelabs chrome browser my scripts are failing.
I tried many ways to handle the authentication in my url. Below are the ways i tried:
- Entering username and password in the url itself. But my application gives error if i do like this.
- Tried using Robot class.
- I tried using AutoIt but couldn’t use it since it is not available for Mac.
- Tried using Sikuli, but was not successful.