Selenium 4-alpha WebDriver W3C status of endpoints
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
# Using Docker selenium/standalone-chrome:4 | |
# I ran | |
POST http://localhost:4444/session | |
{ | |
"status": 0, | |
"sessionId": "995a7f03fceb8a4633558900cd617329", | |
"value": { | |
"acceptInsecureCerts": false, | |
"browserName": "chrome", | |
"browserVersion": "81.0.4044.92", | |
"chrome": { | |
"chromedriverVersion": "81.0.4044.69 (6813546031a4bc83f717a2ef7cd4ac6ec1199132-refs/branch-heads/4044@{#776})", | |
"userDataDir": "/tmp/.com.google.Chrome.3XnKRl" | |
}, | |
"goog:chromeOptions": { | |
"debuggerAddress": "localhost:34627" | |
}, | |
"networkConnectionEnabled": false, | |
"pageLoadStrategy": "normal", | |
"platformName": "linux", | |
"proxy": {}, | |
"setWindowRect": true, | |
"strictFileInteractability": false, | |
"timeouts": { | |
"implicit": 0, | |
"pageLoad": 300000, | |
"script": 30000 | |
}, | |
"unhandledPromptBehavior": "dismiss and notify", | |
"webauthn:virtualAuthenticators": true | |
} | |
} | |
# When trying to get the session timeouts according to https://w3c.github.io/webdriver/#dfn-get-timeouts which | |
# https://github.com/SeleniumHQ/selenium/wiki/W3C-WebDriver-Status says it should work | |
GET http://localhost:4444/session/995a7f03fceb8a4633558900cd617329/timeouts | |
{ | |
"value": { | |
"error": "unknown command", | |
"message": "GET /session/b3c7d53eefd9d29074686e6ffe2bee24/timeouts\nBuild info: version: '4.0.0-alpha-5', revision: 'b3a0d621cc'\nSystem info: host: 'b1b2efdc3255', ip: '172.18.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '4.19.76-linuxkit', java.version: '1.8.0_242'\nDriver info: driver.version: unknown", | |
"stacktrace": "org.openqa.selenium.UnsupportedCommandException: GET /session/b3c7d53eefd9d29074686e6ffe2bee24/timeouts\nBuild info: version: '4.0.0-alpha-5', revision: 'b3a0d621cc'\nSystem info: host: 'b1b2efdc3255', ip: '172.18.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '4.19.76-linuxkit', java.version: '1.8.0_242'\nDriver info: driver.version: unknown\n\tat org.openqa.selenium.remote.codec.AbstractHttpCommandCodec.decode(AbstractHttpCommandCodec.java:289)\n\tat org.openqa.selenium.remote.codec.AbstractHttpCommandCodec.decode(AbstractHttpCommandCodec.java:129)\n\tat org.openqa.selenium.grid.web.ProtocolConverter.execute(ProtocolConverter.java:110)\n\tat org.openqa.selenium.grid.node.ProtocolConvertingSession.execute(ProtocolConvertingSession.java:64)\n\tat org.openqa.selenium.grid.node.local.SessionSlot.execute(SessionSlot.java:91)\n\tat org.openqa.selenium.grid.node.local.LocalNode.executeWebDriverCommand(LocalNode.java:218)\n\tat org.openqa.selenium.grid.node.ForwardWebDriverCommand.execute(ForwardWebDriverCommand.java:36)\n\tat org.openqa.selenium.remote.http.Route$PredicatedRoute.handle(Route.java:373)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:70)\n\tat org.openqa.selenium.remote.tracing.SpanWrappedHttpHandler.execute(SpanWrappedHttpHandler.java:62)\n\tat org.openqa.selenium.remote.http.Filter$1.execute(Filter.java:63)\n\tat org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:335)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:70)\n\tat org.openqa.selenium.grid.node.Node.execute(Node.java:159)\n\tat org.openqa.selenium.grid.web.CombinedHandler.execute(CombinedHandler.java:60)\n\tat org.openqa.selenium.grid.web.RoutableHttpClientFactory$1.execute(RoutableHttpClientFactory.java:66)\n\tat org.openqa.selenium.grid.web.ReverseProxyHandler.execute(ReverseProxyHandler.java:88)\n\tat org.openqa.selenium.grid.router.HandleSession.execute(HandleSession.java:81)\n\tat org.openqa.selenium.remote.http.Route$PredicatedRoute.handle(Route.java:373)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:70)\n\tat org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:335)\n\tat org.openqa.selenium.remote.http.Route.execute(Route.java:70)\n\tat org.openqa.selenium.grid.router.Router.execute(Router.java:68)\n\tat org.openqa.selenium.grid.server.AddWebDriverSpecHeaders.lambda$apply$0(AddWebDriverSpecHeaders.java:30)\n\tat org.openqa.selenium.grid.server.WrapExceptions.lambda$apply$0(WrapExceptions.java:38)\n\tat org.openqa.selenium.remote.http.Filter$1.execute(Filter.java:63)\n\tat org.openqa.selenium.netty.server.SeleniumHandler.lambda$channelRead0$0(SeleniumHandler.java:48)\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat java.lang.Thread.run(Thread.java:748)\n" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
shs96c commentedMay 4, 2020