0

Using Selenium and Python, how can I click the download button? I don't see anything in the documentation located here: https://selenium-python.readthedocs.io/api.html so I am not sure where to begin.

Download Button on PDF

This download button is at the very top of the screen, I am viewing a pdf.

The URL looks like this: is https://.../...pdf

1 Answers1

1

you can use the url itself to download the file

import urllib.request
urllib.request.urlretrieve("http://...url.pdf", "name.pdf")
Vivek Singh
  • 300
  • 1
  • 4
  • 13