I used below selenium codes to click "OK" alert box, But It is not identifying, I dont knw wht's the reason, Can anyone help to solve this Issue ?
在此处输入图像描述文章源自玩技e族-https://www.playezu.com/192712.html
Alert click_on_update_button_Htwelveyes = driver.switchTo().alert();
click_on_update_button_Htwelveyes.accept();
}
----Selenium Output----------
org.openqa.selenium.NoAlertPresentException: no such alert
(会话信息:chrome=103.0.5060.134)文章源自玩技e族-https://www.playezu.com/192712.html
语音功能测试软件文章源自玩技e族-https://www.playezu.com/192712.html 文章源自玩技e族-https://www.playezu.com/192712.html