Closed ankur-lt closed 2 years ago
@ankur-lt, thank you for creating this issue. We will troubleshoot it as soon as we can.
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template
label.
If the issue is a question, add the I-question
label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted
label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, W3C),
add the applicable G-*
label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer
label.
Thank you!
Not sure why it's giving that error, but usually the bindings manage things better than curl will. Also the server is going to ignore everything in desired capabilities in favor of what's in capabilities, so only send that one.
If you are going to use CURL, you need to make sure you are reading the w3c spec.
here's an example of starting with capabilities, pay attention to firstMatch
vs alwaysMatch
syntax:
https://w3c.github.io/webdriver/#example-7
Logging was not agreed on in w3c meetings, so the logging is a selenium specific implementation brought over from JSON Wire Protocol: https://www.selenium.dev/documentation/legacy/json_wire_protocol/#sessionsessionidlog
Note that you need to use GET se/log/types
in order to see what are available
Then you need to POST se/log
with {"type": logType}
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
What happened?
I am trying to get the logs from
POST /session/:sessionId/se/log
API, but facing errors in it. Following are the steps I followed:How can we reproduce the issue?
Getting the error:
How can I get the logs here?
Operating System
MacOS Monterey
Selenium version
4.1.1
What are the browser(s) and version(s) where you see this issue?
Chrome latest
What are the browser driver(s) and version(s) where you see this issue?
Chromedriver
Are you using Selenium Grid?
4.1.1