V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
plantparknet
V2EX  ›  Python

selenium 在 centos 总是报这种错误, centos 为 Minimal ISO

  •  
  •   plantparknet · Jul 25, 2015 · 3069 views
    This topic created in 3931 days ago, the information mentioned may be changed or developed.
    selenium.common.exceptions.WebDriverException: Message: The browser appears to have exited before we could connect. If you specified a log_file in the FirefoxBinary constructor, check it for details.
    2 replies    2015-07-25 23:14:40 +08:00
    zjxubinbin
        1
    zjxubinbin  
       Jul 25, 2015
    不是说的明明白白的么,无法连接浏览器~
    Minimal安装是没有firefox的.
    plantparknet
        2
    plantparknet  
    OP
       Jul 25, 2015
    @zjxubinbin 哈哈 莫急~~ 已装Firefox,问题找到了,需要装Xvfb
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2644 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 12:06 · PVG 20:06 · LAX 05:06 · JFK 08:06
    ♥ Do have faith in what you're doing.