Created
June 23, 2022 08:21
-
-
Save Watcher24/6dc739b6730e81f54480ed5cc24a194a 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.SessionNotCreatedException: Could not start a new session. Unable to parse remote response: <!DOCTYPE html> | |
<html> | |
<head> | |
<title>Access forbidden</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
<style type="text/css"> | |
div { | |
font-family: sans-serif; | |
line-height: 1.4; | |
} | |
#wrapper { | |
width: 100%; | |
text-align: center; | |
} | |
#boxer { | |
display: inline-block; | |
margin: 40px; | |
} | |
a:link, a:visited { | |
color: #599900; | |
} | |
a:hover, a:active { | |
color: #345900; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="wrapper"> | |
<div id="boxer"> | |
<div style="width: 400px; text-align: left;"> | |
<div><img | |
src="data:image/gif;base64,R0lGODlhxQAyAMQQAGaZALLMf4yzQNnlv/X573CfEMXZn4OsMKC/YOLsz3mmIOzy35a5UM/fr6nGcLzSj////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABAALAAAAADFADIAAAX/ICSOZGmeaKqubOu+sArM9BnQcxDvfO//wGALN7MRdcKkcslsrogAIw7prFqvWBlRSqP2CIHCjLHIms9Z6MkgaLcNwEPBMTAoCgm0fp9UYw0AAzMKAwoCfIiJMX5XbRAADwUBD1GKSgsDDQGbnJwNAwSWLIxWAg6PM58AnQFwBAYMbnQlDQ5upnkqCw+xtw4GoTELBggCUMc0BQKszJ2usG4IDS0JAbcMD8EnpCMDrAMn1b2ywCQMB48IAA2URAIGYlAMoQkKyALaJATqyDMI+SkSOLDXr6BBKAIaxCNyIFc4Y8gcABTBTcSNKSUWQOwnUQQgNgkYOCjA7+CMA+36/x0AmGBhQTwq2CA74OBTGQKZAhwwicwlFJgmABlcaaIihItdSL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CFmQI8J/4wAz2nQQkdBsIlMPC95wAB/8mVEOgCferS3u9KDDsMjJPyoBKA4rHvwIa8AX/otw9agKnAzqQf9UInwLd4b4HWjARw2DAZWhiALGkxiwC+F8/JHHBEp7hFcJiQAVZgIkHIECEAWugCWf4hZ/haIU8IEADEAC7XdHwh0BQyDEKYJ8kgMEgBASiEldAOwUkEQing0KzlkhFFCQIGfVTQvAAQKwqevFwx8iRFVyEDHEZfnGJwbNYI5AxxTN+UXPPY8KjAKAqN9qxbhwxI4NGVsQ72lFcPQkA614wjJGRwY+I9Ff0TlKTJ9rIAAbrybwSSUkRrMkkhlgGM2whgEXypn16rOQXdWiLCSJjeA9wpChFmQBNcNKTIWoD+bK4yiaEAAA7"/> | |
</div> | |
<div style="margin-top: 40px; "> | |
You are not authorized to access the requested resource at the current time. | |
This is likely caused by an expired session. | |
Please <a href="javascript:history.back()">go back</a> and try again. | |
</div> | |
</div> | |
</div> | |
</div> | |
</body> | |
</html> | |
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:112) | |
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:84) | |
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:62) | |
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:156) | |
at org.openqa.selenium.remote.TracedCommandExecutor.execute(TracedCommandExecutor.java:51) | |
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:567) | |
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:248) | |
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:164) | |
at com.codeborne.selenide.webdriver.RemoteDriverFactory.create(RemoteDriverFactory.java:32) | |
at com.codeborne.selenide.webdriver.WebDriverFactory.createWebDriverInstance(WebDriverFactory.java:102) | |
at com.codeborne.selenide.webdriver.WebDriverFactory.createWebDriver(WebDriverFactory.java:69) | |
at com.codeborne.selenide.drivercommands.CreateDriverCommand.lambda$createDriver$1(CreateDriverCommand.java:80) | |
at com.codeborne.selenide.logevents.SelenideLogger.get(SelenideLogger.java:165) | |
at com.codeborne.selenide.drivercommands.CreateDriverCommand.createDriver(CreateDriverCommand.java:53) | |
at com.codeborne.selenide.impl.WebDriverThreadLocalContainer.createDriver(WebDriverThreadLocalContainer.java:170) | |
at com.codeborne.selenide.impl.WebDriverThreadLocalContainer.getAndCheckWebDriver(WebDriverThreadLocalContainer.java:156) | |
at com.codeborne.selenide.WebDriverRunner.getAndCheckWebDriver(WebDriverRunner.java:130) | |
at com.codeborne.selenide.impl.StaticDriver.getAndCheckWebDriver(StaticDriver.java:65) | |
at com.codeborne.selenide.SelenideDriver.getAndCheckWebDriver(SelenideDriver.java:206) | |
at com.codeborne.selenide.drivercommands.Navigator.lambda$navigateTo$0(Navigator.java:69) | |
at com.codeborne.selenide.logevents.SelenideLogger.run(SelenideLogger.java:152) | |
at com.codeborne.selenide.drivercommands.Navigator.navigateTo(Navigator.java:67) | |
at com.codeborne.selenide.drivercommands.Navigator.open(Navigator.java:32) | |
at com.codeborne.selenide.SelenideDriver.open(SelenideDriver.java:101) | |
at com.codeborne.selenide.Selenide.open(Selenide.java:51) | |
at info.magnolia.test.selenide.driverconfiguration.SelenideDriverConfiguration.<init>(SelenideDriverConfiguration.java:63) | |
at info.magnolia.test.selenide.driverconfiguration.SelenideDriverConfigurationCore.<init>(SelenideDriverConfigurationCore.java:50) | |
at info.magnolia.test.selenide.driverconfiguration.SelenideDriverConfigurationCore.setUp(SelenideDriverConfigurationCore.java:45) | |
at info.magnolia.test.selenide.Selenide.beforeAll(Selenide.java:26) | |
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllCallbacks$10(ClassBasedTestDescriptor.java:381) | |
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) | |
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeBeforeAllCallbacks(ClassBasedTestDescriptor.java:381) | |
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:205) | |
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:80) | |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:148) | |
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) | |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) | |
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) | |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) | |
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) | |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) | |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) | |
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) | |
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) | |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) | |
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) | |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) | |
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) | |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) | |
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) | |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) | |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) | |
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) | |
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) | |
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) | |
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107) | |
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) | |
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) | |
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) | |
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) | |
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) | |
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) | |
at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) | |
at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53) | |
at com.intellij.junit5.JUnit5IdeaTestRunner.startRunnerWithArgs(JUnit5IdeaTestRunner.java:71) | |
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33) | |
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235) | |
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54) | |
Caused by: org.openqa.selenium.json.JsonException: Unable to parse: <!DOCTYPE html> | |
<html> | |
<head> | |
<title>Access forbidden</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
<style type="text/css"> | |
div { | |
font-family: sans-serif; | |
line-height: 1.4; | |
} | |
#wrapper { | |
width: 100%; | |
text-align: center; | |
} | |
#boxer { | |
display: inline-block; | |
margin: 40px; | |
} | |
a:link, a:visited { | |
color: #599900; | |
} | |
a:hover, a:active { | |
color: #345900; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="wrapper"> | |
<div id="boxer"> | |
<div style="width: 400px; text-align: left;"> | |
<div><img | |
src="data:image/gif;base64,R0lGODlhxQAyAMQQAGaZALLMf4yzQNnlv/X573CfEMXZn4OsMKC/YOLsz3mmIOzy35a5UM/fr6nGcLzSj////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABAALAAAAADFADIAAAX/ICSOZGmeaKqubOu+sArM9BnQcxDvfO//wGALN7MRdcKkcslsrogAIw7prFqvWBlRSqP2CIHCjLHIms9Z6MkgaLcNwEPBMTAoCgm0fp9UYw0AAzMKAwoCfIiJMX5XbRAADwUBD1GKSgsDDQGbnJwNAwSWLIxWAg6PM58AnQFwBAYMbnQlDQ5upnkqCw+xtw4GoTELBggCUMc0BQKszJ2usG4IDS0JAbcMD8EnpCMDrAMn1b2ywCQMB48IAA2URAIGYlAMoQkKyALaJATqyDMI+SkSOLDXr6BBKAIaxCNyIFc4Y8gcABTBTcSNKSUWQOwnUQQgNgkYOCjA7+CMA+36/x0AmGBhQTwq2CA74OBTGQKZAhwwicwlFJgmABlcaaIihItdSLQ0SRSCOgQBRiogwLMqgEMkNh6cemLAzmMIHKLwWvABJ6sA0NHi2XSEUaQ5SBBkOsLATgX/UKE9CGcEga8mH5iAi6MAOBclf+ba21cEAZ8FEZR4e0Qp5H6Nix5jEIBBwQOdITMo8XeGgAcDMiU+WWJ1MrEsCMyVR/HYMs+0RxAGQFLnsTJutwyubNm0gdTEEKaAogA4hKVEDI9YALgG6QOSSwjFQcJBv8MwdnPX+3pEvehyGWoTRERw8PElCHsR0dI9iZTWtxEB7xFKZgjs4TDRRCLMFogIC/SDVf8MAR5TGw7/NViEY1A4Z5E7JFCGkQkEkjehfjQ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lgGM2whgEXypn16rOQXdWiLCSJjeA9wpChFmQBNcNKTIWoD+bK4yiaEAAA7"/> | |
</div> | |
<div style="margin-top: 40px; "> | |
You are not authorized to access the requested resource at the current time. | |
This is likely caused by an expired session. | |
Please <a href="javascript:history.back()">go back</a> and try again. | |
</div> | |
</div> | |
</div> | |
</div> | |
</body> | |
</html> | |
at org.openqa.selenium.json.Json.toType(Json.java:57) | |
at org.openqa.selenium.json.Json.toType(Json.java:50) | |
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:109) | |
... 67 more | |
Caused by: org.openqa.selenium.json.JsonException: Unable to determine type from: <. Last 1 characters read: < | |
Build info: version: '4.1.4', revision: '535d840ee2' | |
System info: host: 'CHN0015.local', ip: 'fe80:0:0:0:1026:514a:dcf7:3f2b%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '11.5', java.version: '11.0.13' | |
Driver info: driver.version: SelenideDriver | |
at org.openqa.selenium.json.JsonInput.peek(JsonInput.java:126) | |
at org.openqa.selenium.json.JsonTypeCoercer.lambda$buildCoercer$6(JsonTypeCoercer.java:141) | |
at org.openqa.selenium.json.JsonTypeCoercer.coerce(JsonTypeCoercer.java:127) | |
at org.openqa.selenium.json.Json.toType(Json.java:71) | |
at org.openqa.selenium.json.Json.toType(Json.java:55) | |
... 69 more | |
Process finished with exit code 255 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment