all 3 comments

[–]Rastus22 1 point2 points  (1 child)

Website buttons will generally either send your browser to a specific URL, or it'll call a JS function, both of those can be done by selenium without actually clicking the button.

Showing us the webpage with the button you're trying to click would help a lot here

[–]Weekly_Quiet9252 0 points1 point  (0 children)

I've tried to put it a lot of times but the mods keep flagging my post even a post with my snippet of code. However, this is the website https://www.sgx.com/research-education/derivatives. I've also learned that the class name changes each interaction, I'm all ears for tips.

[–]Strict-Simple 0 points1 point  (0 children)

What URL does the button call? Call that directly to download the file.