51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 1325|回复: 4
打印 上一主题 下一主题

python selenium模块使用出错,这个怎么改?

[复制链接]
  • TA的每日心情
    无聊
    7 小时前
  • 签到天数: 407 天

    连续签到: 1 天

    [LV.9]测试副司令

    跳转到指定楼层
    1#
    发表于 2020-7-13 11:31:27 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式
    1测试积点
    错误代码如下:
    1. File "/usr/local/lib/python2.7/dist-packages/selenium-3.0.0b2-py2.7.egg/selenium/webdriver/firefox/webdriver.py", line 65, in __init__
    2. self.service.start()
    3. File "/usr/local/lib/python2.7/dist-packages/selenium-3.0.0b2-py2.7.egg/selenium/webdriver/common/service.py", line 71, in start
    4. os.path.basename(self.path), self.start_error_message)
    5. selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.

    6. Exception AttributeError: "'Service' object has no attribute 'process'" in <bound method Service.__del__ of <selenium.webdriver.firefox.service.Service object at 0x7f753ad53390>> ignored
    复制代码
    是不是没有安装什么啊?

    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-5-6 18:51 , Processed in 0.062567 second(s), 22 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表