发布时间:2019-09-23 17:07:32编辑:auto阅读(1790)
#!/usr/bin/python # -*- coding:utf8 -*- from selenium import webdriver import os driver1 = webdriver.PhantomJS(executable_path='/usr/local/bin/phantomjs') driver1.get("http://www.csdn.net") data = driver1.title driver1.save_screenshot('csdn.png') print data print os.getcwd()
上一篇: Python中的None与 NULL(即
下一篇: python如何实现对文件结束符(EOF
47793
46325
37206
34688
29279
25937
24831
19913
19478
17971
5757°
6374°
5886°
5932°
7033°
5873°
5897°
6403°
6357°
7731°