Mocha timeout using selenium driver

I am trying to run my mocha tests using selenium-driver, but I got this error: https://gist.github.com/Clemzd/f7bbaa77c492ee288765#file-gistfile1-txt .

My selenium server is well started because I can start a chrome session. Here is the code I used to run my mocha tests: https://github.com/Clemzd/paige-tests .

I tried to increase the timeout for mocha, but did not change anything.

+6
source share
1 answer

selenium-webdriver/testing does not seem to be easy with mocha versions above 1.20. You can get this error to go away by changing the mocha dependency in your package.json to look like this:

mocha: "~1.20.1"

+6
source

Source: https://habr.com/ru/post/973063/


All Articles