Visit my new blog at blog.hisabimbola.com
End to end testing with protractor is very important for developers doing BDD or TDD and using Angular
To install protractor there is a common error encountered of "Warning: there's no selenium server jar at the specified location".
Though there are several solutions online, and some include you specifying the selenium jar folder in your protractor configuration file, I disagree with this solution because if you are in a team and have other developers contributing to the project, this solution may not work on their machine
So the solution that I did that fixed this was that, instead of running
webdriver-manager update
as specified in protractor site, you should run this command instead
./node_modules/protractor/bin/webdriver-manager update
This would update the webdriver that your app is using
and voila, the error should be gone, and you should see a selenium folder in the protractor folder in your app
You can drop a comment if you have any other question
Thank you.
ReplyDeleteThanks! Worked for me.
ReplyDeleteWorks for me - thanks! :)
ReplyDeleteThanks Man!
ReplyDeleteNice!
ReplyDeleteNice one!
ReplyDeleteWorked for me as well. :)
ReplyDeleteRan into this issue after updating from Protractor 4.0.9 to 4.0.10, running the update as you suggested fixed it up.
ReplyDeleteawesome. thanks
ReplyDeleteThankYou! worked for me as well
ReplyDeleteThank You and I have a neat offer you: How Long Renovate House complete home renovation
ReplyDelete