lundi 1 juin 2020

Is there any way to interact with open external application alert from a webpage using selenium?

I tried switching tab that had popup using driver.switch_to.window(driver.window_handles[1]) and closing the first tab, but none of them worked This is the code that I tried to accept the popup driver.switch_to_alert().accept()

example:




Aucun commentaire:

Enregistrer un commentaire