-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[🚀 Feature]: Support retrieving groupCollapsed group labels #10302
Comments
@jieqiu0630, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
Hi, @jieqiu0630. You can see if the feature is passing in the Web Platform Tests. If it is something new, please create an issue with the ChromeDriver team. |
Thanks for your request. Logging is not currently defined in the w3c spec (w3c/webdriver#406), and what is provided is essentially whatever the Browser Driver decides should be included. So, asking for something additional would need to go be requested from Google. It's possible that upcoming BiDi features will allow you to get this information from the browser directly, but I don't know. |
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. |
Feature and motivation
Currently, collapsed log groups' labels cannot be retrieved from the browser logs via functions like
driver.get_log("browser")
.For example, if my I log the following to my console:
Only
"hello"
and"world"
will be retrieved fromdriver.get_log("browser")
."group label"
, the label of this inline console log group, is not captured.It would be great if group labels can be captured as normal console log messages.
Usage example
In certain scenarios, we would like to use console log messages along with selenium as a way of testing our web app. We also use
groupCollapsed
to not clutter the console. Ideally, we would like to get the group labels as they may contain useful information for our testing.The text was updated successfully, but these errors were encountered: