I came across to a issue while automation of tests. I need to login on web page which prompts a dialog box(alert) to login and I am not able to provide credentials there.
I already referred below approached by embedding user name and password in the url itself This solution opens the URL http://the-internet.herokuapp.com/basic_auth and authenticates with a valid username and password credentials. by providing below solution
driver.get("http://admin:admin@the-internet.herokuapp.com/basic_auth")
But in my case user name contains back slash. so situation which i tried like below but did`t work and not even able to open the url page user name is "win/iterpyt"
driver.get("https://win/iterpyt:KTM55prx#@tastee73.dom1url.com")
driver.get("https://'win/iterpyt':'KTM55prx#'@tastee73.dom1url.com")
driver.get("https://"win/iterpyt":"KTM55prx#"@tastee73.dom1url.com")
Guidance would be really appreciated. Thank you
