Created
April 2, 2018 20:07
-
-
Save brylor/b306652bae9848e9ba08d86747b40d20 to your computer and use it in GitHub Desktop.
This file contains 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
org.openqa.selenium.WebDriverException: Unable to parse remote response: <html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> | |
<title>Error 500 Server Error</title> | |
</head> | |
<body><h2>HTTP ERROR 500</h2> | |
<p>Problem accessing /wd/hub/session. Reason: | |
<pre> Server Error</pre></p><h3>Caused by:</h3><pre>java.io.IOException: org.openqa.grid.common.exception.GridException: Cannot extract a capabilities from the request: { | |
"desiredCapabilities": { | |
"acceptInsecureCerts": true, | |
"browserName": "googlechrome", | |
"version": "65.0.3325.181", | |
"platform": "ANY" | |
}, | |
"requiredCapabilities": {}, | |
"capabilities": { | |
"desiredCapabilities": { | |
"acceptInsecureCerts": true, | |
"browserName": "googlechrome", | |
"version": "65.0.3325.181", | |
"platform": "ANY" | |
}, | |
"requiredCapabilities": {}, | |
"alwaysMatch": { | |
"acceptInsecureCerts": true, | |
"browserName": "googlechrome" | |
}, | |
"firstMatch": [] | |
} | |
} | |
This file contains 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
DesiredCapabilities cap = DesiredCapabilities.chrome() | |
cap.setBrowserName("googlechrome") | |
cap.setVersion('65.0.3325.181') | |
cap.setPlatform(Platform.ANY) | |
cap.setAcceptInsecureCerts(true) | |
driver = new RemoteWebDriver(new URL(Node), cap) | |
driver.manage().window().fullscreen() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment