Directly typing the below url in the browser, it works,
http://username:p%40ssword@examplesite.com:80/yyyy
But, when i use the same url, for selenium webdriver tests, it is connecting to
http://examplesite.com/yyyy
and asking for the HTTP authentication . Do i need to change any settings in the chrome browser, or tweak the default profile?
That strategy did not work for me though. However I circumvented it by using AutoIt akin to this https://stackoverflow.com/a/19374325/5059472
Plain old npm install of autoit is not enough. We need to add python to our path, as well as install visual studio community 2015 with visual c++ selected as an additional option
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.