-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Add browser console logs to worker output #13727
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
base: main
Are you sure you want to change the base?
Add browser console logs to worker output #13727
Conversation
eslint-plugin-wdio
@wdio/appium-service
@wdio/allure-reporter
@wdio/browser-runner
@wdio/browserstack-service
@wdio/cli
@wdio/concise-reporter
@wdio/cucumber-framework
@wdio/config
@wdio/dot-reporter
@wdio/firefox-profile-service
@wdio/globals
@wdio/jasmine-framework
@wdio/json-reporter
@wdio/junit-reporter
@wdio/lighthouse-service
@wdio/local-runner
@wdio/logger
@wdio/protocols
@wdio/mocha-framework
@wdio/repl
@wdio/reporter
@wdio/runner
@wdio/sauce-service
@wdio/shared-store-service
@wdio/smoke-test-cjs-service
@wdio/smoke-test-reporter
@wdio/smoke-test-service
@wdio/spec-reporter
@wdio/static-server-service
@wdio/sumologic-reporter
@wdio/testingbot-service
@wdio/types
@wdio/utils
@wdio/webdriver-mock-service
webdriver
webdriverio
commit: |
@sebastian-sauer any suggestions how we move this effort forward? |
Sorry for leaving this pr untouched. I'll try to finish this up and remove the wip status |
I hope this will be picked up again at some point but I do have a request and one concern. When using the outputDir I would like this to have its own output file because the logs are already really big and it's not part of the Webdriver commands. EDIT: the above is not a request for change as I'd first like to hear if others agree with my take or not |
Proposed changes
For bidi based sessions allow to capture the browser log in worker console
closes #13663
Example output:
The logger automatically allows to identify the different (2) processes this was tested in.
Types of changes
Checklist
Backport Request
//: # (The current
main
branch is the development branch for WebdriverIO v9. If your change should be released to the current major version of WebdriverIO (v8), please raise another PR with the same changes against thev8
branch.)v9
and doesn't need to be back-ported#XXXXX
Further comments
Reviewers: @webdriverio/project-committers