我是靠谱客的博主 温婉咖啡豆,最近开发中收集的这篇文章主要介绍selenium chrome 浏览器闪退,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

selenium 3.5.1 chrome 43 chromedriver2.7

 

多开了几个浏览器就出现闪退的情况,

 

 

升级chrome60,chromedriver2.31 解决

 

org.openqa.selenium.WebDriverException: unknown error: session deleted because o
f page crash
from tab crashed
(Session info: chrome=43.0.2357.134)
(Driver info: chromedriver=2.7.236900,platform=Windows NT 6.1 SP1 x86_64) (WAR
NING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: '-211-', ip: '192.168.0.3', os.name: 'Windows 7', os.arch: 'x
86', os.version: '6.1', java.version: '1.8.0_131'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{applicationCacheEnabled=false, rotatable=false, chrome={userDataD
ir=C:UsersADMINI~1AppDataLocalTempscoped_dir5528_8518}, takesHeapSnapshot=
true, databaseEnabled=false, handlesAlerts=true, version=43.0.2357.134, platform
=XP, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, loc
ationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScree
nshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
Session ID: 263af5d3cd586fde36a72fc41cd2ea02
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.
java:215)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHa
ndler.java:167)
at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValu
e(JsonHttpResponseCodec.java:40)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(Abst
ractHttpResponseCodec.java:82)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(Abst
ractHttpResponseCodec.java:45)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExe
cutor.java:164)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(Driv
erCommandExecutor.java:82)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.ja
va:641)

 

最后

以上就是温婉咖啡豆为你收集整理的selenium chrome 浏览器闪退的全部内容,希望文章能够帮你解决selenium chrome 浏览器闪退所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(41)

评论列表共有 0 条评论

立即
投稿
返回
顶部