protractor-perf icon indicating copy to clipboard operation
protractor-perf copied to clipboard

Unable to locate chromedriver.exe

Open cp4r3z opened this issue 8 years ago • 6 comments

I'm trying to get this working from within Grunt. I've tried registering a task explicitly as per the documentation and including it in grunt.initConfig. I'm getting the following error in both instances:

Error: Error: Could not find chromedriver at <main>\node_modules\protractor-perf\node_modules\protractor\selenium\chromedriver.exe

cp4r3z avatar Nov 08 '16 17:11 cp4r3z

@cp4r3z Are you able to run regular protractor tests ?

axemclion avatar Nov 08 '16 18:11 axemclion

@axemclion Thanks for the response! Yes, I can through grunt-protractor-runner.

cp4r3z avatar Nov 08 '16 18:11 cp4r3z

Could this be a bad npm download ? I just did npm install protractor and I do see a chromedriver.exe. Could you delete node_modules and run npm install again ?

axemclion avatar Nov 08 '16 19:11 axemclion

I've installed a couple times now and this is the folder structure I see:

protractor-perf_folder_structure

cp4r3z avatar Nov 08 '16 20:11 cp4r3z

I tried reproducing this again today - I was able to run it perfectly. Can you check if you have chromedriver anywhere in the node_modules ?

You may also have to run webdriver init ?

axemclion avatar Jan 20 '17 04:01 axemclion

In my case, there is no node_modules directory at all. image

I have tried npm install many times but no success at all. Is there any specific procedure to install protractor-perf in the project?

cmrock avatar Nov 15 '17 12:11 cmrock