-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[dotnet] Adding flag to enable SafariDriver logging. #16196
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
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨ |
Co-authored-by: Nikolay Borisenko <[email protected]>
Co-authored-by: Nikolay Borisenko <[email protected]>
User description
🔗 Related Issues
This is related to #12273. I mistakenly thought it was not possible to enable logging in SafariDriver.
💥 What does this PR do?
This option enables logging in SafariDriver, which only goes to a file in a hardcoded directory (~/Library/Logs/com.apple.WebDriver/).
🔄 Types of changes
PR Type
Enhancement
Description
Add
Diagnoseproperty to enable SafariDriver loggingAppend
--diagnoseflag to command line argumentsRemove unused imports for cleaner code
Diagram Walkthrough
File Walkthrough
SafariDriverService.cs
Add diagnostic logging support and cleanup importsdotnet/src/webdriver/Safari/SafariDriverService.cs
Diagnoseboolean property with documentationCommandLineArgumentsto append--diagnoseflag when enabled