You are using an unsupported command-line flag --ignore-certificate-errors. Stability and security w
来源:互联网 发布:天下3捏脸大赛数据 编辑:程序博客网 时间:2024/05/17 03:46
环境:ubuntu14.04,python2.7, selenium3.0.1, Google Chrome 52.0.2743.116(64-bit)
在学习selenium时拷贝别人的代码执行报错,原因应该在这一句:driver = webdriver.Chrome()
在打开的chrome窗口中显示错误:You are using an unsupported command-line flag --ignore-certificate-errors. Stability and security will suffer
解决办法:
忽略掉错误,driver部分改为:
from selenium.webdriver.common.desired_capabilities import DesiredCapabilitiesoptions = webdriver.ChromeOptions()options.add_argument("--test-type")# 初始化一个webdriverdriver = webdriver.Chrome(chrome_options=options)恩,改了之后,虽然原来的功能还没完成,但是确实没有提示错误了
0 0
- You are using an unsupported command-line flag --ignore-certificate-errors. Stability and security w
- you are using an old unsupported version of gradle 1.9
- --ignore-certificate-errors问题解决
- mysql Error Code: 1175 You are using safe update mode and you tried to update a table without a W
- You are attempting to build with an unsupported JDK.
- Adding an existing project to GitHub using the command line
- Adding an existing project to GitHub using the command line
- Error D8016 '/ZI' and '/Gy-' command-line options are incompatible
- cl : Command line error D8016 : '/RTC1' and '/clr' command-line options are incompatible
- Command line error D2016 : '/ZI' and '/O2' command-line options are incompatible 解决办法
- VS2015,1>cl : Command line error D8016: '/ZI' and '/Gy-' command-line options are incompatible
- VS2015,1>cl : Command line error D8016: '/ZI' and '/Gy-' command-line options are incompatible
- This warning can be disabled by using the command line flag -Dcom.android.build.gradle.overridePath
- This warning can be disabled by using the command line flag -Dcom.android.build.gradle.overridePath
- COCOS2D #error "Cannot recognize the target platform; are you targeting an unsupported platform?"
- COCOS2D #error "Cannot recognize the target platform; are you targeting an unsupported platform?"
- Coco2d-x:Cannot recognize the target platform; are you targeting an unsupported platform?
- Are You Using Abstract Classes, Polymorphism, and Interfaces? @ JDJ
- flex布局实战篇
- 如何防止单例模式被JAVA反射攻击
- AndroidManifest.xml中一些权限的注释
- bfs+dfs- poj2688-Cleaning Robot
- ARM9嵌入式系统设计(基于S3C2410与Linux)——第一篇简介
- You are using an unsupported command-line flag --ignore-certificate-errors. Stability and security w
- poj 3041 Asteroids【二分图】【匈牙利算法】
- [Hive]客户端几种数据导出方式
- c#泛型
- new出的对象数组必须要用delete[]删除,而普通数组和结构数组delete和delete[]都一样
- Java链栈实现两个大数加法
- 涂涂乐的详细实现之五--网络通信(NetWorkView)
- 链接脚本学习笔记1------sections的简单应用分析
- android监听前台程序