python打开自已配置的firefox
2015-09-29 11:58
435 查看
firefox自已配置文件:
1.CMD,找到安装目录,运行 firefox.exe -ProfileManager -no-remote
2.点击“start firefox"
3.在新启动的firefox中安装自已需要的配置。 安装某些插件、去掉某些弹出广告的工具栏
参考:http://lijingshou.iteye.com/blog/2085276
使用自已的配置启动firefox:
#配置文件
profile=webdriver.FirefoxProfile(r"C:\Users\Administrator\AppData\Roaming\Mozilla\Firefox\Profiles\znfzhqgh.fire_fox")
self.driver = webdriver.Firefox(profile)
1.CMD,找到安装目录,运行 firefox.exe -ProfileManager -no-remote
2.点击“start firefox"
3.在新启动的firefox中安装自已需要的配置。 安装某些插件、去掉某些弹出广告的工具栏
参考:http://lijingshou.iteye.com/blog/2085276
使用自已的配置启动firefox:
#配置文件
profile=webdriver.FirefoxProfile(r"C:\Users\Administrator\AppData\Roaming\Mozilla\Firefox\Profiles\znfzhqgh.fire_fox")
self.driver = webdriver.Firefox(profile)
相关文章推荐
- Python查询天气预报
- python string to hex,字符串转16进制
- Python 数据排序和列表迭代和列表推导应用
- 用python进行服务器的监控
- python string methods 和 string module区别
- python 自动化测试平台 Robot Framework快速入门
- python 自动化测试平台 Robot Framework 内置库 翻译
- Python自然语言处理(一)--利用NLTK自带方法完成NLP基本任务
- [转载]Python爬虫入门七之正则表达式
- python re.search 和 re.match 正则表达式
- python与字符集编码
- Python解释器的探讨:第二部分代码对象
- Python解释器的探讨:第二部分代码对象
- python笔记
- numpy argsort排序函数
- [转载]Python爬虫入门四之Urllib库的高级用法
- Python 通过pickle标准库加载和保存数据对象
- <PY>计算范数及效率
- [转载]Python爬虫入门三之Urllib库的基本使用
- numpy 文件存取