Win7 64λ?°??Selenium
???????????? ???????[ 2014/5/20 11:59:51 ] ????????Selenium ???????????? Win7
?????????????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??
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11