[dotnet][java][py][rb] pass --enable-chrome-logs unless CHROME_LOG_FILE is set - #17858
[dotnet][java][py][rb] pass --enable-chrome-logs unless CHROME_LOG_FILE is set#17858titusfortner wants to merge 1 commit into
Conversation
PR Summary by QodoRespect CHROME_LOG_FILE and default --enable-chrome-logs across bindings
AI Description
Diagram
High-Level Assessment
Files changed (12)
|
Code Review by Qodo
1.
|
🔗 Related Issues
Fixes #16201
💥 What does this PR do?
--enable-chrome-logsto chromedriver/msedgedriver on startup by default (matching current .NET and Python code), so the browser's stdio is captured in the driver log instead of leaking to the user's console.CHROME_LOG_FILEenvironment variable when set, so it no longer silently overrides the user's Chrome log file. This also fixes a pre-existing override in .NET and Python.🔧 Implementation Notes
logPathingoog:chromeOptions, butCHROME_LOG_FILE🤖 AI assistance
💡 Additional Considerations
--enable-chrome-logsas an opt-inenableChromeLogging()method rather than forcing it as default; should consider updating it to match the other bindings🔄 Types of changes
CHROME_LOG_FILE.--enable-chrome-logsby default.