[dotnet] Add more internal logs around CDP DevTools communication#14558
[dotnet] Add more internal logs around CDP DevTools communication#14558nvborisenko merged 6 commits intoSeleniumHQ:trunkfrom
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|
After: For sure user doesn't see it if he it didn't enable explicitly. |
|
LGTM since it is opt-in. We can always ask users to enable logging when they report issues. |
…leniumHQ#14558) * [dotnet] Add more internal logs around CDP DevTools communications * Warn only if this level is enabled * Log error and throw * One line cdp command params --------- Co-authored-by: Puja Jagani <[email protected]>
User description
Description
Just added internal logging for DevToolsSession class.
Motivation and Context
To be able analyze what is happening in CDP when users report issues related to CDP communication.
Related to #14547
Types of changes
Checklist
PR Type
enhancement, other
Description
DevToolsSessionclass to trace CDP communications, improving the ability to analyze issues related to CDP.Changes walkthrough 📝
DevToolsSession.cs
Enhance CDP DevToolsSession with internal logging and error handlingdotnet/src/webdriver/DevTools/DevToolsSession.cs
ILogger.handlers.