python - Selenium IEDriver accept download -


how accept save download link selenium , iedriver? (this iedriver page)enter image description here

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

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -