You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran my console program and saw unexpected console output from Selenium Manager.
20:03:03.469 INFO SeleniumManager: Driver path: C:\Users\Nick\.cache\selenium\chromedriver\win64\130.0.6723.69\chromedriver.exe
20:03:03.481 INFO SeleniumManager: Browser path: C:\Program Files\Google\Chrome\Application\chrome.exe
Starting ChromeDriver 130.0.6723.69 (3ec172b971b9478c515a58f591112c5c23fa4965-refs/branch-heads/6723@{#1452}) on port 52914
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully on port 52914.
Motivation and Context
Nothing should go to the user's console if not enabled explicitly.
Types of changes
Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to change)
Address resource problems caused by thousands of sockets stuck in TIME_WAIT
Improve performance of concurrent Selenium tests
⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review
Potential Information Loss The change treats all log levels as Trace, which might lead to loss of important information that was previously logged at higher levels (WARN, INFO).
Performance Concern The new implementation still iterates through all log entries, potentially impacting performance if there are many log entries.
Why: The suggestion improves performance by reducing redundant checks within the loop, which is a beneficial optimization, especially if the log entries are numerous.
7
Enhancement
Enhance log message formatting using string interpolation for better readability
Consider using string interpolation for the log message to improve readability and potentially performance.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
Description
I ran my console program and saw unexpected console output from Selenium Manager.
Motivation and Context
Nothing should go to the user's console if not enabled explicitly.
Types of changes
Checklist
PR Type
enhancement
Description
Changes walkthrough 📝
SeleniumManager.cs
Simplify log handling by treating all logs as Tracedotnet/src/webdriver/SeleniumManager.cs
level.
INFO).