vscode-mocha-test-adapter
vscode-mocha-test-adapter copied to clipboard
Webdriver IO: browser is not defined
I'm using Webdriver IO for a project. It works fine running tests using VS Code. The command it uses to start the tests is wdio wdio.conf.js
, and in that configuration file it says to use mocha, and defines which test spec files to test with.
As soon as I open the vscode-mocha-test-adapter extension, it says "ReferenceError: browser is not defined".
Well, browser
is defined in the webdriverio node module.
I understand it might not be possible to use this VS Code extension to make my life easier running mocha tests with webdriver IO, but if anyone has any advice, I'd much appreciate it.
Hi @oldmankit I am in the same boat, did you manage to get a fix or workaround for this?
Nope! I gave up.
I'm having this same issue, has anyone looked into this issue at all?
@hbenl