请问如何在Chrome浏览器72.0上解决弹出问题?
请提供解决方案。我使用的是selenium 3.14
版本,运行脚本后,除弹出网站外,其他用户模仿的脚本显示在屏幕上。
试图解决相同的问题-
Alert.accept
,但是找到了一段时间NOAlertexception
。提供任何一种解决方案。
org.openqa.selenium.UnhandledAlertException: unexpected alert open: {Alert text : }
(Session info: chrome=72.0.3626.109)
(Driver info: chromedriver=2.45.615291 (ec3682e3c9061c10f26ea9e5cdcf3c53f3f74387),platform=Windows NT 10.0.16299 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds: null
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'W00PISVDI1447', ip: '10.60.210.187', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_131'
Driver info: org.openqa.selenium.chrome.ChromeDriver