I'm trying to automate a google takeout for a few gmail accounts. I'm currently stuck on when the export is ready to download. Google keeps splitting up the zips into 3-8 files. Even though I request a 50 GB export and the total size of the gmail account is maxed out at 30 gb. So I'm not sure why it keeps splitting it, but anyways. A pop up appears with a bunch of download links. How can I code selenium in python to be able to go through the list and click all elements that are there?
Any help?
You'd do something like this.
elems = driver.find_elements_by_xpath("//a[@aria-label='Download']") for elem in elems: elem.click() #driver.back()
2.1m questions
2.1m answers
60 comments
57.0k users