当前位置:首页 > 开发 > 编程语言 > 持续集成 > 正文

Unable to start phantomjs with ghostdriver.

发表于: 2015-06-12   作者:Chinaperson   来源:转载   浏览:
摘要: plantomjs最初是放在D:\\phantomjs\\bin\\phantomjs.exe 环境变量也添加了,各种尝试都是如下错误: error: selenium.common.exceptions.WebDriverException: Message: Unable to start phantomjs with ghostdriver.Screenshot: available v

plantomjs最初是放在D:\\phantomjs\\bin\\phantomjs.exe 环境变量也添加了,各种尝试都是如下错误:

error:

selenium.common.exceptions.WebDriverException: Message: Unable to start phantomjs with ghostdriver.
Screenshot: available via screen

后来我放到C盘

#指定 phantomjs 驱动
path1='C:\\Python27\\phantomjs\\bin\\phantomjs.exe'

path2='C:\\Python27\\phantomjs\\bin\\phantomjs'
driver = webdriver.PhantomJS(executable_path=path1/path2

Unable to start phantomjs with ghostdriver.

  • 0

    开心

    开心

  • 0

    板砖

    板砖

  • 0

    感动

    感动

  • 0

    有用

    有用

  • 0

    疑问

    疑问

  • 0

    难过

    难过

  • 0

    无聊

    无聊

  • 0

    震惊

    震惊

编辑推荐
PhantomJS是以WebKit为核心并提供JavaScript编程接口(API)的无界面浏览器。 它提供对web标准的 快速
'Workflow Notification Mailer' Service is under status:'System Deactivated'. Detailed Status
[标题]:[转]JBoss was unable to start within 50 seconds [时间]:2009-5-14 [摘要]:在Eclipse中JBo
[标题]:[转]JBoss was unable to start within 50 seconds [时间]:2009-5-14 [摘要]:在Eclipse中JBo
Unable to start T-SQL Debugging. Could not connect to the computer ‘.’ 在Win7上面使用SSMS连
[标题]:[转]JBoss was unable to start within 50 seconds [时间]:2009-5-14 [摘要]:在Eclipse中JBo
不久前,我常用的 NetBeans IDE 出了點狀況,那就是當我用 C/C++ 寫程式的時候會一直跳出 unable to
Eclipse运行项目时,遇到Server at localhost was unable to start within 45 seconds问题,如下图
在Eclipse中启动JBoss 5.0时出现如下错误: Server JBoss v5.0 at localhost was unable to start wi
JBoss was unable to start within 50 seconds 分类: Jboss 2010-03-21 16:53 1334人阅读 评论(1)
版权所有 IT知识库 CopyRight © 2009-2015 IT知识库 IT610.com , All Rights Reserved. 京ICP备09083238号