编程问答
chromedriver与chrome版本映射表 -凯发ag旗舰厅登录网址下载
问题:
利用selenium调用谷歌浏览器时报错,后发现是由于浏览器与浏览器驱动不匹配造成的
c:\users\\desktop\selenium>python chrome.py
[9956:6992:0419/161807.014:error:persistent_memory_allocator.cc(845)] corruption detected in shared-memory segment.
devtools listening on ws://127.0.0.1:12731/devtools/browser/0410b919-e0f6-4dd7-92cd-07f869c6d473
[9956:6992:0419/161810.342:error:persistent_memory_allocator.cc(845)] corruption detected in shared-memory segment.
[9956:6992:0419/161810.852:error:persistent_memory_allocator.cc(845)] corruption detected in shared-memory segment.
[9956:7108:0419/161811.325:error:persistent_memory_allocator.cc(845)] corruption detected in shared-memory segment.
[9956:6992:0419/161812.007:error:persistent_memory_allocator.cc(845)] corruption detected in shared-memory segment.
[9956:8832:0419/161812.479:error:persistent_memory_allocator.cc(845)] corruption detected in shared-memory segment.
[9956:8832:0419/161812.538:error:persistent_memory_allocator.cc(845)] corruption detected in shared-memory segment.
[9956:8832:0419/161812.596:error:persistent_memory_allocator.cc(845)] corruption detected in shared-memory segment.
traceback (most recent call last):
file "chrome.py", line 6, in
driver.get('http://radar.kuaibo.com')
file "d:\pathon\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 324, in get
self.execute(command.get, {'url': url})
file "d:\pathon\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 312, in execute
self.error_handler.check_response(response)
file "d:\pathon\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.webdriverexception: message: unknown error: runtime.executioncontextcreated has invalid 'context': {"auxdata":{"frameid":"aac09e001631cbf3ffae97a69570df6a","isdefault":true},"id":1,"name":"","origin":"://"}
(session info: chrome=66.0.3359.117)
(driver info: chromedriver=2.9.248315,platform=windows nt 6.3 x86_64)
[14340:7108:0419/162207.425:error:ppapi_thread.cc(310)] failed to load pepper module from internal-not-yet-present (error: 126)
unable to read vr path registry from c:\users\wangqianqian\appdata\local\openvr\openvrpaths.vrpath
[9956:6944:0419/162556.199:error:latency_info.cc(164)] display::drawandswap, latencyinfo vector size 102 is too big.
[9956:6944:0419/162557.774:error:latency_info.cc(164)] display::drawandswap, latencyinfo vector size 102 is too big.
[9956:6944:0419/162559.339:error:latency_info.cc(164)] display::drawandswap, latencyinfo vector size 102 is too big.
[9956:6944:0419/162600.907:error:latency_info.cc(164)] display::drawandswap, latencyinfo vector size 102 is too big.
[9956:6944:0419/162602.580:error:latency_info.cc(164)] display::drawandswap, latencyinfo vector size 102 is too big.
[9956:6944:0419/162604.126:error:latency_info.cc(164)] display::drawandswap, latencyinfo vector size 102 is too big.
[9956:6944:0419/162605.692:error:latency_info.cc(164)] display::drawandswap, latencyinfo vector size 102 is too big.
[9956:6944:0419/162607.266:error:latency_info.cc(164)] display::drawandswap, latencyinfo vector size 102 is too big.
[9956:6944:0419/162608.837:error:latency_info.cc(164)] display::drawandswap, latencyinfo vector size 102 is too big.
[9956:6944:0419/162610.413:error:latency_info.cc(164)] display::drawandswap, latencyinfo vector size 102 is too big.
[9956:6944:0419/162611.994:error:latency_info.cc(164)] display::drawandswap, latencyinfo vector size 102 is too big.
[9956:6944:0419/162613.566:error:latency_info.cc(164)] display::drawandswap, latencyinfo vector size 102 is too big.
[9956:6944:0419/162615.135:error:latency_info.cc(164)] display::drawandswap, latencyinfo vector size 102 is too big.
[9956:6944:0419/162616.742:error:latency_info.cc(164)] display::drawandswap, latencyinfo vector size 102 is too big.
[9956:6944:0419/162618.313:error:latency_info.cc(164)] display::drawandswap, latencyinfo vector size 102 is too big.
chromedriver与chrome的对应关系表
驱动下载地址:https://npm.taobao.org/mirrors/chromedriver/
摘自:https://blog.csdn.net/huilan_same/article/details/51896672
http://www.mamicode.com/info-detail-2238607.html
转载于:https://www.cnblogs.com/wangqianqiannb/p/8884168.html
与50位技术专家面对面20年技术见证,附赠技术全景图总结
以上是凯发ag旗舰厅登录网址下载为你收集整理的chromedriver与chrome版本映射表的全部内容,希望文章能够帮你解决所遇到的问题。
如果觉得凯发ag旗舰厅登录网址下载网站内容还不错,欢迎将凯发ag旗舰厅登录网址下载推荐给好友。
- 上一篇:
- 下一篇: css 命名简则