I am currently using Selenium to automate the downloading file from public Google Drive folder.
I use browser.find_element(By.CLASS_NAME, "akerZd").click() , but it just opens the browser with Drive page and does not do anything after. ("akerZd" is the name of class of small download button on the folder)
My code:
from selenium import webdriver
from selenium.webdriver.common.by import By
browser = webdriver.Chrome("C:\\chromedriver\\chromedriver.exe")
browser.get('https://drive.google.com/drive/folders/1mOGQW__azsRkJI-l4vFjcxwYO5DC8uEA')
element = browser.find_element(By.CLASS_NAME, "akerZd")
element.click()
How can I do to solve this problems? Have a good day.
