[🐛 Bug]: unconditionally print console log entry when subscribed to event #14561
Labels
A-needs-triaging
A Selenium member will evaluate this soon!
I-defect
Something is not working as intended
What happened?
Hello here,
I subscribed to a console log event in BiDi with an empty callback handler. The normal behavior should be not to print anything in the terminal. However it systematically prints a JSON string with all the details normally consumed by
ConsoleLogEntry
.I believe it's due to a simple development leftover of
print(json)
.I think this small print should be removed so that user can choose what is printed on screen.
How can we reproduce the issue?
Relevant log output
Operating System
Ubuntu
Selenium version
Python 4.24.0
What are the browser(s) and version(s) where you see this issue?
Firefox 131
What are the browser driver(s) and version(s) where you see this issue?
GeckoDriver 0.35.0
Are you using Selenium Grid?
No response
The text was updated successfully, but these errors were encountered: