Is it possible to automate IE webpage dialog in selenium



  • F12 is not working on webpage dialog, tried to change the settings of IE with no luck.

    Dont want to use AutoIT.



  • A picture would make it much easier to work out what exactly you are asking, however I'll assume it's alert messages (i.e. JavaScript popups).

    Selenium can work with those by using the Alert interface:

    e.g.

    Alert alert = driver.switchTo().alert();
    // get the text of the alert
    alert.getText();
    // click OK / accept the alert
    alert.accept();
    ```


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2