from selenium import webdriverimport osdriver = webdriver.Chrome()driver.get("http://cn.bing.com")driver.find_element_by_xpath("//input[@id='sb_form_q']").send_keys("李晓鹏")driver.find_element_by_xpath("//input[@id='sb_form_go']").click()# driver.quit()