Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98788

How to click on the download button using Selenium and Python

$
0
0

I am trying to download an excel file using Selenium Python using the below code:

download=driver.find_element_by_css_selector("span[data-reactid='.0.1.0.0.1.1.1.0.1.0.1'>Download Orders]")

The element of the download button look like: enter image description here

The piece of code above isnt working. Can someone help?


Viewing all articles
Browse latest Browse all 98788

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>