-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[dotnet] Support GetLog command by Remote Web Driver #14549
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you!
There a bunch of failing tests though I am not sure if they are related to the changes in this PR. |
Failed tests are not related to this PR. Probably I will be able to look at this later (as separate PR). |
Tests are failing because of Edge 128 is used, when 129 is expected. #14411 should fix it. |
Thank you so much!@nvborisenko |
@sponnusamyneogov, you will be able to test the changes in upcoming nightly build, don't forget to share results. |
Hi, unfortunately it looks like this change has broken the existing functionality of We were using this for the last 2 years and it was working fine for both our Chrome and Safari (through testingbot.com) tests. After the 4.26 update, we started getting the below exception when we use it on the Safari (through testingbot.com) tests. It's working fine on Chrome.
Please let me know if I can provide more info or if we need to change anything to make this work. Thanks. |
@hatemkahil you said: "it was working fine for both our Chrome and Safari". It was incorrect, now it is correct. Now it throws exception, instead of returning empty list of log messages. Please submit new issue if you still think it is incorrect. |
User description
Description
Now it is possible to
driver.Manage().Logs.GetLog("browser")
wheredriver
is remote webdriver.Motivation and Context
Fixes #14545
Types of changes
Checklist
PR Type
Enhancement
Description
GetLog
command in the Remote WebDriver, allowing retrieval of logs such as "browser" logs.GetAvailableLogTypes
command to fetch available log types.Changes walkthrough 📝
W3CWireProtocolCommandInfoRepository.cs
Add support for log retrieval commands in Remote WebDriver
dotnet/src/webdriver/Remote/W3CWireProtocolCommandInfoRepository.cs
GetLog
command in the Remote WebDriver.GetAvailableLogTypes
command.