I want to export all the documents, so I need all the links.
if the mouse does not scroll down, all links will not be loaded.
Need to move down a bit to gradually load
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import time
# Configuration information
email = "187069474@qq.com"
password = "Huangbo1019@"
driver = webdriver.Chrome()
index_url = "https://testselenium.quip.com/BCWAOAUkg1v"
driver.get(url=index_url)
driver.find_element_by_xpath('//*[@id="header-nav-collapse"]/ul/li[9]/a').click() # click login
time.sleep(1)
driver.find_element_by_xpath('/html/body/div[2]/div[1]/div[1]/form/div/input').send_keys(email) # input email
driver.find_element_by_xpath('//*[@id="email-submit"]').click()
time.sleep(1)
driver.find_element_by_xpath('/html/body/div/div/form/div/input[2]').send_keys(password) # input password
driver.find_element_by_xpath('/html/body/div/div/form/button').click()
time.sleep(2)
May need a new strategy