Invalid testing environment specified: chrome

90 Views Asked by At

enter image description here

When run the this code got below error-

Invalid testing path

1

There are 1 best solutions below

0
Vladislav Bulanov On

Like the error message states. You have

'default', 'chrome-local'

environments available to you in your configuration file.

You will need to run the command npx nightwatch -e chrome-local like the user 'AutomatedTester' said.