30 April 2021
Debug WebdriverIO Tests: logLevel
by Željko Filipin
Introduction
I wrote a blog post for my team blog at work. You can see the original post at Debug Selenium Tests: logLevel.
Environments
This tip works if you’re targeting:
- a local MediaWiki
- a remote wiki
- continuous integration
logLevel
Change logLevel
in tests/selenium/wdio.conf.js
from the default error
to info
.
Run Selenium tests
Output will contain a lot of useful debugging information.
- MediaWiki documentation on running Selenium tests.
- WebdriverIO loglevel documentation.
- The code from this post is available as Gerrit patch 676397.
tags: code - photo - selenium - wikimedia