The website I'm trying to automate has different methods of logging in, depending on the network I'm on. When I'm not on the company's network, it has its login form which is easy enough to automate. When I am the company's network, though, I have to log in via an ADFS authentication popup (this one).
I have tried passing the username and password to the URL, but this doesn't work. Is there a way to bypass this login popup?
Specs:
- Selenium 4.0.0
- Chromedriver 96.0.4664.35
- Chrome 96.0.4664.110
- openjdk 16.0.2
EDIT: In response to some of the comments, this is how I've tried passing the credentials to the URL:
driver.get(https://username:password@url)
Unfortunately I cannot share the URL due to privacy concerns.