I have installed the mocha but while running this test using command then getting describe is not a function error.
1 Answer
You are overwriting the mocha functions describe, before, after and it in line 2 of your script. I don't know how selenium is handling this, but I would try this:
- Comment line 2
- Run
mocha mochaTest.jsagain -> Error should disappear
Next you should uncomment line 2 again and see if selenium-webdriver/testing is installed properly.
