I am trying to get the logs from POST /session/:sessionId/se/log API. Following are the steps I followed:
1. Start Selenium 4 session with the following commandGetting the error:
{ "value": { "error": "script timeout", "message": "Unable to execute request for an existing session: GET /session/30b9b9b2b29ff8bfeedfd5c27a418c23/se/log\\nBuild info: version: '4.1.1', revision: 'e8fcc2cecf'\\nSystem info: host: 'MacBook-Pro.local', ip: 'fe80:0:0:0:18df:a1f9:77fb:d522%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.16', java.version: '1.8.0_311'\\nDriver info: driver.version: unknown", "stacktrace": "java.lang.RuntimeException: Unable to execute request for an existing session: GET /session/30b9b9b2b29ff8bfeedfd5c27a418c23/se/log\\nBuild info: version: '4.1.1', revision: 'e8fcc2cecf'\\nSystem info: host: 'MacBook-Pro.local', ip: 'fe80:0:0:0:18df:a1f9:77fb:d522%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.16', java.version: '1.8.0_311'\\nDriver info: driver.version: unknown\\n\\tat org.openqa.selenium.grid.router.HandleSession.execute(HandleSession.java:139)\\n\\tat org.openqa.selenium.remote.http.Route$PredicatedRoute.handle(Route.java:373)\\n\\tat org.openqa.selenium.remote.http.Route.execute(Route.java:68)\\n\\tat org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:336)\\n\\tat org.openqa.selenium.remote.http.Route.execute(Route.java:68)\\n\\tat org.openqa.selenium.grid.router.Router.execute(Router.java:91)\\n\\tat org.openqa.selenium.grid.web.CheckOriginHeader.lambda$apply$0(CheckOriginHeader.java:66)\\n\\tat org.openqa.selenium.grid.web.CheckContentTypeHeader.lambda$apply$0(CheckContentTypeHeader.java:70)\\n\\tat org.openqa.selenium.grid.web.EnsureSpecCompliantResponseHeaders.lambda$apply$0(EnsureSpecCompliantResponseHeaders.java:34)\\n\\tat org.openqa.selenium.remote.http.Filter$1.execute(Filter.java:64)\\n\\tat org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:336)\\n\\tat org.openqa.selenium.remote.http.Route.execute(Route.java:68)\\n\\tat org.openqa.selenium.remote.http.Route$CombinedRoute.handle(Route.java:336)\\n\\tat org.openqa.selenium.remote.http.Route.execute(Route.java:68)\\n\\tat org.openqa.selenium.remote.AddWebDriverSpecHeaders.lambda$apply$0(AddWebDriverSpecHeaders.java:35)\\n\\tat org.openqa.selenium.remote.ErrorFilter.lambda$apply$0(ErrorFilter.java:44)\\n\\tat org.openqa.selenium.remote.http.Filter$1.execute(Filter.java:64)\\n\\tat org.openqa.selenium.remote.ErrorFilter.lambda$apply$0(ErrorFilter.java:44)\\n\\tat org.openqa.selenium.remote.http.Filter$1.execute(Filter.java:64)\\n\\tat org.openqa.selenium.netty.server.SeleniumHandler.lambda$channelRead0$0(SeleniumHandler.java:44)\\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" } }How can I get the logs here?
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/601c09e5-f353-4dff-be84-e3dabb585816n%40googlegroups.com.