I figured out, that I can use browser.pause();
to stop the execution of the browser and inspect its current variables, but how do I inspect the variables of my WebdriverIO test source?
Of course I could call console.log()
if I would like to know a value. But for every try I would have to restart the complete test suite, or I would need to comment every other test.
Instead, I would ideally like to stop the execution in one line and inspect all available variables.
Does somebody has a solution for that, or an other idea?