0

I have a big problem with the pop-up window, which is clearly not a default alert message in selenium. I've searched everything but there is no solution for the selenium and Python problem. I ask for help. I want to edit and click the following popup.

This pop up is not selenium alert

driver.switch_to.alert() does not work. As I said, it is not a selenium alert.

This is error which shows up when I'm using:

driver.switch_to.alert : selenium.common.exceptions.NoAlertPresentException: Message: no such alert

Jason Aller
  • 3,541
  • 28
  • 38
  • 38
fedordima
  • 47
  • 5
  • 1
    I searched, and I found that, I hope to help you. https://stackoverflow.com/questions/62154160/how-to-click-on-open-application-alert-using-selenium – javier Piña Jun 14 '22 at 08:12

2 Answers2

0

Have you tried --disable-default-apps when starting up Chrome?

Modestas
  • 55
  • 5
0

This is the soluton to click on left button! You need to install the pynput module!

from pynput.keyboard import Key, Controller

    keyboard = Controller()
    keyboard.press(Key.left)
    keyboard.press(Key.enter)
fedordima
  • 47
  • 5