79798542

Date: 2025-10-24 08:15:14
Score: 3
Natty:
Report link
I have the same problem. Once I enable BiDi, modal dialogs don't appear anymore.

    ChromeOptions options = new ChromeOptions();
    //options.enableBiDi(); // uncomment this line to reproduce the error
    ChromeDriver driver = new ChromeDriver(options);
    driver.get("https://the-internet.herokuapp.com/javascript_alerts");
    driver.findElement(By.cssSelector("[onclick='jsAlert()']")).click();

    // throws "no such alert" if BiDi is enabled:
    Alert alert = driver.switchTo().alert();
    assertThat(alert.getText()).isEqualTo("I am a JS Alert");
Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same problem
  • Low reputation (0.5):
Posted by: Andrei Solntsev