I have an application that generates a new browser tab when I click on a link. In the new tab I get the Chrome authentication alert. I've tried using the below code:
wd.switch_to_window(wd.window_handles[1])
a = switch_to_alert()
a.send_keys('username' + Keys.TAB + 'password')
but I get the no alert error msg
I have also tried using the ActionChain to send the keys but the alert does not receive the send_keys
Are there any alternatives? fyi I cannot use https://username@password format as this tab is generated when I click on a link