[.net] Add example for logging to console#2172
[.net] Add example for logging to console#2172RenderMichael wants to merge 2 commits intoSeleniumHQ:trunkfrom
Conversation
✅ Deploy Preview for selenium-dev canceled.
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
| {{% /tab %}} | ||
| {{< tab header="CSharp" >}} | ||
| {{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/ChromeTest.cs#L30-L31" >}} | ||
| {{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Browsers/ChromeTest.cs#L31-L32" >}} |
There was a problem hiding this comment.
Due to the additional using statement, each of these got shifted down one line
PR Code Suggestions ✨Explore these optional code suggestions:
|
|
The other code examples seem to refer to having the Let me know if this is the right mechanism to advertise to users and @nvborisenko if this is the right thing for users to do here |
|
@RenderMichael No, it is incorrect. Current behavior: when we start Now, when we have internal logging, it might be beneficial to catch all messages from |
|
I believe these changes are already present in the codebase. |
User description
Thanks for contributing to the Selenium site and documentation!
A PR well described will help maintainers to review and merge it quickly
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, and help reviewers by making them as simple and short as possible.
Description
Motivation and Context
Types of changes
Checklist
PR Type
Enhancement, Documentation
Description
Added examples for logging browser actions to console in .NET tests.
Updated documentation references to include new logging examples.
Introduced
PrintOutputToConsoletest methods for Chrome, Edge, and Internet Explorer.Adjusted code block references in multilingual documentation to reflect new examples.
Changes walkthrough 📝
3 files
Added console logging example for Chrome browser testsAdded console logging example for Edge browser testsAdded console logging example for Internet Explorer browser tests10 files
Updated English documentation for Chrome logging examplesUpdated Japanese documentation for Chrome logging examplesUpdated Portuguese documentation for Chrome logging examplesUpdated Chinese documentation for Chrome logging examplesUpdated English documentation for Edge logging examplesUpdated Portuguese documentation for Edge logging examplesUpdated English documentation for Internet Explorer logging examplesUpdated Japanese documentation for Internet Explorer logging examplesUpdated Portuguese documentation for Internet Explorer loggingexamplesUpdated Chinese documentation for Internet Explorer logging examples