Created
November 2, 2017 16:26
-
-
Save rnemeth1980/75e4885a7bb8e03fb19de0727aa9ebb0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Caused by: | |
| org.openqa.selenium.WebDriverException: java.util.ArrayList cannot be cast to java.lang.String | |
| Command duration or timeout: 3.00 seconds | |
| Caused by: | |
| org.openqa.selenium.WebDriverException: java.util.ArrayList cannot be cast to java.lang.String | |
| Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z' | |
| System info: host: 'xxx', ip: 'xxx', os.name: 'Windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_121' | |
| Driver info: driver.version: unknown | |
| using this code: | |
| JsonObject json = new JsonObject(); | |
| json.addProperty("proxyType", "MANUAL"); | |
| json.addProperty("httpProxy", PROXY); | |
| json.addProperty("sslProxy", PROXY); | |
| JsonArray jArray = new JsonArray(); | |
| jArray.add("127.0.0.1"); | |
| jArray.add("localhost"); | |
| jArray.add("selenium"); | |
| jArray.add(".bechtle.de"); | |
| jArray.add(".bechtle.net"); | |
| json.add("noProxy", jArray); | |
| caps.setCapability(CapabilityType.PROXY, json); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment