最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

selenium webdriver - No alert with ChromeDriver 134 when running headless - Stack Overflow

programmeradmin4浏览0评论

Using ChromeDriver 134 with Selenium, I cannot find alerts shown by onbeforeunload anymore when running in headless, it does not appear at all in the screenshot, navigation is also not prevented. If headless is not used, the alert shows up as expected. With version 117, it works as expected

Does anyone know any workaround for this?

发布评论

评论列表(0)

  1. 暂无评论