Download a file in IE using Selenium

后端 未结 6 1427
忘掉有多难
忘掉有多难 2020-12-06 08:35

OK, so I am trying to export a file using Selenium. My browser is IE. When I click on the export button a native windows dialogue box comes up.

Image of the pop up

6条回答
  •  失恋的感觉
    2020-12-06 08:52

    Sorry, I wrote approach how to upload the file. If you want to download - use the same approach, but use another buttons: Instead buttons Cntrl + V you can use button Tab to find control of Save/Save as and then Press Enter. Before it, you can paste String with file path ( directory where you want to upload your file).

提交回复
热议问题