#coding=utf-8
from selenium import webdriver
import time
browser = webdriver.Chrome()
browser.get("http://www.baidu.com")
browser.find_element_by_xpath("//*[@id='kw']").send_keys("selenium")
############################################
browser.find_element_by_id("su").click()
time.sleep(10)
browser.quit()
5fded980e80c61398a4e985d600733984a153258
<mask token>

<mask token>
browser.get('http://www.baidu.com')
browser.find_element_by_xpath("//*[@id='kw']").send_keys('selenium')
browser.find_element_by_id('su').click()
time.sleep(10)
browser.quit()

<mask token>
browser = webdriver.Chrome()
browser.get('http://www.baidu.com')
browser.find_element_by_xpath("//*[@id='kw']").send_keys('selenium')
browser.find_element_by_id('su').click()
time.sleep(10)
browser.quit()

from selenium import webdriver
import time
browser = webdriver.Chrome()
browser.get('http://www.baidu.com')
browser.find_element_by_xpath("//*[@id='kw']").send_keys('selenium')
browser.find_element_by_id('su').click()
time.sleep(10)
browser.quit()

#coding=utf-8
from selenium import webdriver
import time
browser = webdriver.Chrome()
browser.get("http://www.baidu.com")
browser.find_element_by_xpath("//*[@id='kw']").send_keys("selenium")
############################################
browser.find_element_by_id("su").click()
time.sleep(10)
browser.quit()