Add an option to suppress browser logs while keeping console.log
output
#1560
Labels
feature
A new feature
console.log
output
#1560
Feature Description
It would be great to have an option in k6browser that allows running a script using the standard k6 run command but with the ability to suppress browser-related logs (e.g., logs from the browser itself or system-level debugging) while still preserving the output of console.log statements from the script.
Use Case:
In many scenarios, users want to focus on the custom logs added in their scripts (via console.log) for debugging or analysis. However, the current behavior includes browser logs which can make it difficult to sift through the information.
Proposed Solution:
Introduce a command-line option like --silent-browser-logs or --filter-logs to filter out browser-related logs but keep console.log outputs intact.
Thank you for considering this feature!
Suggested Solution (optional)
No response
Already existing or connected issues / PRs (optional)
No response
The text was updated successfully, but these errors were encountered: