from selenium import webdriver
driver = webdriver.Chrome()
driver.get("http://www.baidu.com")
driver.find_element_by_id("kw").send_keys("杀手博客园")
driver.find_element_by_id("su").click()
driver.quit()
标签:class _id 调试 www end sel log chrome rom
from selenium import webdriver
driver = webdriver.Chrome()
driver.get("http://www.baidu.com")
driver.find_element_by_id("kw").send_keys("杀手博客园")
driver.find_element_by_id("su").click()
driver.quit()
标签:class _id 调试 www end sel log chrome rom
原文地址:https://www.cnblogs.com/lxs1314/p/8342726.html