python selenium (五) 点击和输入
driver.find_element(By.ID, 'login').click() # 点击
driver.find_element(By.ID, 'fromtable').submit() # 提交表单用submit
driver.find_element(By.ID, 'input').send_keys('user') # 输入
driver.find_element(By.ID, 'input').clear() # 清除内容

浙公网安备 33010602011771号