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

Python selenium 上传图片如何判断上传完成?

  •  
  •   woshichuanqilz · May 24, 2018 · 3122 views
    This topic created in 3060 days ago, the information mentioned may be changed or developed.

    上传图片的时候会有一个 loading 的界面, 我需要在这个上传完毕之后, 点击提交的按钮, 但是不知道, 这个如何判断上传完成了。

    20180524123511

    1 replies  •  2018-05-24 14:14:11 +08:00
    ml1344677
        1
    ml1344677  
       May 24, 2018
    你可以对比上传前 上传中 上传后三个页面是否有样式或者标签的变动,一般判断页面是否加载完成也是这种方式。以此来推断具体进行到什么步骤了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5794 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 01:39 · PVG 09:39 · LAX 18:39 · JFK 21:39
    ♥ Do have faith in what you're doing.