我将chrome更新到版本70,硒测试出现错误。所以我将chromedriver更新为2.43(http://chromedriver.chromium.org/downloads)但我仍然有这个错误:
org.openqa.selenium.SessionNotCreatedException:
session not created
from tab crashed
(Session info: chrome=70.0.3538.102)
(Driver info: chromedriver=2.42.591088 (7b2b2dca23cca0862f674758c9a3933e685c27d5),platform=Windows NT 6.1.7601 SP1 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 2.42 seconds
Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:19:58.91Z'
System info: host: 'xxxxxxxxxx', ip: '192.168.103.01', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_191'
Driver info: driver.version: ChromeDriver
编辑:
chromedriver 2.44 的问题相同
我现在更新了我的chrome并解决了我的问题。