我下载了驱动程序,并在代码中给出了确切的路径,但是当我运行代码时,它显示错误
我的java代码如下:
System.out.println("Internet Explorer is selected");
System.setProperty("webdriver.ie.driver","C:\\Program Files\\Selenium\\Drivers\\IEDriver\\IEDriverServer.exe");
driver = new InternetExplorerDriver();
selenium = new WebDriverBackedSelenium(driver, "http://www.datamoat.com/");
Run Code Online (Sandbox Code Playgroud)
并且错误消息是
org.openqa.selenium.remote.SessionNotFoundException: Unexpected error launching Internet Explorer. Protected Mode settings are not the same for all zones. Enable Protected Mode must be set to the same value (enabled or disabled) for all zones. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 1.15 seconds
Build info: version: '2.37.0', revision: 'a7c61cb', time: '2013-10-18 17:15:02'
System info: host: 'SAKIB-PC', ip: '192.168.10.70', …Run Code Online (Sandbox Code Playgroud) 我想用selenium webdriver测试android应用程序.我没有源代码.我只有apk文件.
题:
我在命令行中使用以下内容
newman run e_api.json -e ent_env.json --reporters cli,html
Run Code Online (Sandbox Code Playgroud)
但它告诉我 unable to verify the first certificate error
如何忽略 https/ssl 证书错误?
我尝试使用以下命令,但它不起作用。
newman run e_api.json -e ent_env.json --reporters cli,html --ignore-https_proxy
Run Code Online (Sandbox Code Playgroud)