I am trying to write a Python script where I navigate to a government website. Once there, there is a pop up window where you must click OK, and then near the top of the page, you can select the most recent file to download. However, before the file downloads, another pop up box appears and you must scroll down in this 2nd pop up window and then click Accept.
Can anyone provide guidance on how to write such a script? Here is the link to the website:
https://sam.gov/data-services/Exclusions/Public%20V2?privacy=Public
Thanks in advance!
I have unsuccessfully tried to write this Python script myself and it did not work.
Michael Keiffer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.