在selenium webdriver上启动时,Chrome浏览器无法启动

时间:2017-03-13 15:10:04

标签: selenium-webdriver selenium-chromedriver

我有以下配置:

  • Webdriver版本:3.3.0
  • Chrome版本:56
  • Chromedriver版本:2.24
  • 操作系统版本:Windows 10

我面临的例外情况如下。我对硒很新,所以不确定可能的原因是什么。我尝试使用severla版本的chromedriver执行相同的代码,但没有运气

"features": [{
    "type": "Feature",
    "id": "AFG",
    "properties": {
      "name": "Afghanistan"
    },
    "geometry": {
      "type": "Polygon",
      "coordinates": [
        [
          [61.210817, 35.650072],
          [62.230651, 35.270664],
          [62.984662, 35.404041],
          [63.193538, 35.857166],
          [63.982896, 36.007957],
          [64.546479, 36.312073],
// Goes on and on and on...

1 个答案:

答案 0 :(得分:0)

您使用的是较旧版本的Chrome驱动程序。使用最新的Chrome驱动器将解决这个问题。从Link to download Chrome driver

下载最新的Chrome驱动程序