python - Selenium IEDriver accept download -
how accept save download link selenium , iedriver? (this iedriver page)
there no way control download pop-ups on browsers using selenium because browsers use native dialogs cannot controlled javascript, need alternate approaches.
alternate approaches working :
- get browser preconfigured. means everytime click on download of file, browser should directly download without giving options open/save/cancel. can set in settings menu of browsers.
- you can try more harder, read : link
note : assuming automating here. , automation tests have @before condition should ensure test goes through. in case, if follow first (& easy approach) have given - @before condition.
hope helps.
Comments
Post a Comment