?????????????python???selenium?????????????ɡ?
?????????????£?ò????Щ?????????????ū???£?????????
????0.???python
?????????
???????python?汾??2.7.5
????1.???easy_install
??????????http://peak.telecommunity.com/dist/ez_setup.py???а??????????????????????python???м????
????2.???pip
??????c:Python27Scripts??????????????????????????python????????????????????easy_install?????easy_install.exe pip????????????????
????3.???selenium
??????c:Python27Scripts??????????????????????????python????????????????????pip?????pip install selenium????????????????
????4.????chrome??webdriver
????????????????????????? http://chromedriver.storage.googleapis.com/index.html ????????????汾???????????32λ?????????64λ??????????????????????????webdriver?????chrome??汾?????????????????μ?webdriver?汾????????????chrome?汾??
??????????????exe??????????????????????????????c:Python27???????????????????
????5.enjoy your time
?????????????????????????

 

# -*- coding:utf-8 -*-
from selenium import webdriver
browser = webdriver.Chrome()
browser.get("http://www.soso.com")
print browser.title
browser.close()

??????chrome????soso????????????????????????棬?廳?1?????????????title????????????
????OK???????????????????о?api??