问答详情
源自:6-1 常见浏览器的启动

火狐浏览器安装为默认路径,运行报错

火狐浏览器安装为默认路径,运行报错Exception in thread "main" java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see https://github.com/mozilla/geckodriver. The latest version can be downloaded from https://github.com/mozilla/geckodriver/releases

提问者:qq_青_11 2017-06-21 14:53

个回答

  • 慕码人5263927
    2017-06-28 15:10:38

    火狐54,selenium3.4.0,火狐的geckodriver需要配置成PATH的环境变量吗?求指教http://img.mukewang.com/595356670001faf911710573.jpg

  • qq_青_11
    2017-06-27 17:25:54

    火狐是54的,selenium是2.9.1

    http://img.mukewang.com/5952249000019c0913950893.jpg

    谢谢了!

  • aikachin
    2017-06-21 17:19:12

    火狐什么版本的、selenium版本多少呢?setProperty怎么设置的啊,有代码看下吗?