Selenium (Python) - waiting for a download process to complete using Chrome web driver

后端 未结 9 1180

I\'m using selenium and python via chromewebdriver (windows) in order to automate a task of downloading large amount of files from different pages. My code works, but the so

9条回答
  •  南笙
    南笙 (楼主)
    2020-12-04 19:11

    When using test automation, its crucial that developers make the software testable. It is your job to check the software combined with the testability, meaning that you need to request a spinner or a simple HTML tag which indicates when the download is done successfully.

    In a case as yours, where you cannot check it in the UI and you cannot check in system, this is the best way to solve it.

提交回复
热议问题