推荐学习书目
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
SimbaPeng
V2EX  ›  Python

使用 selenium webdriver 点击按钮然后下载文件,如何监听文件下载完毕?

  •  
  •   SimbaPeng · Mar 7, 2018 · 7888 views
    This topic created in 3015 days ago, the information mentioned may be changed or developed.
    4 replies    2018-03-07 17:43:30 +08:00
    lnightk
        1
    lnightk  
       Mar 7, 2018 via Android
    selenium 只能监听 html,除非下载成功后网页有变化
    meisky6666
        2
    meisky6666  
       Mar 7, 2018
    python 检测目录?
    h4lbhg1G
        3
    h4lbhg1G  
       Mar 7, 2018
    谷歌一下有人说的方法是周期性检测下载目录下面<filename>.part 文件是否存在
    kkone
        4
    kkone  
       Mar 7, 2018
    不用监听啊,下载是浏览器的事情,你接着做下一步操作就行了,即使下载失败,那也是网络慢,和自动化程序无关的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1170 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 57ms · UTC 23:23 · PVG 07:23 · LAX 16:23 · JFK 19:23
    ♥ Do have faith in what you're doing.