V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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
sjmcefc2
V2EX  ›  Python

求教, selenium 来访问网站并截屏跳出 ssl 问题。

  •  
  •   sjmcefc2 · 2018-07-08 00:33:16 +08:00 · 6871 次点击
    这是一个创建于 2112 天前的主题,其中的信息可能已经有所发展或是发生改变。

    [10828:3556:0708/001502.875:ERROR:ssl_client_socket_impl.cc(1026)] handshake failed; returned -1, SSL error code 1, net_error -100 [10828:3556:0708/001504.276:ERROR:ssl_client_socket_impl.cc(1026)] handshake failed; returned -1, SSL error code 1, net_error -100 [10828:3556:0708/001510.780:ERROR:ssl_client_socket_impl.cc(1026)] handshake failed; returned -1, SSL error code 1, net_error -100

    这样的错误如何解决?
    试了下添加 driver 的参数,貌似还是不行。
    另外貌似 selenium 找 element 的速度很慢,如何提高呢?
    
    3 条回复    2018-07-16 01:00:13 +08:00
    sjmcefc2
        1
    sjmcefc2  
    OP
       2018-07-08 01:04:50 +08:00
    再求一个 firefox 用 selenium 浏览器的环境配置教程,总是觉得配置的有问题。网络上各式各样的都有,也没见 selenium 出一个版本对应的关系。有点摸不着边。
    302766392
        2
    302766392  
       2018-07-08 21:21:03 +08:00
    楼主你知道这些产生的日志怎么屏蔽吗
    sjmcefc2
        3
    sjmcefc2  
    OP
       2018-07-16 01:00:13 +08:00
    @302766392 参考了网上的参数,但是还是不能够屏蔽掉。而且以前没有发生过这个问题。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4788 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 09:48 · PVG 17:48 · LAX 02:48 · JFK 05:48
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.