Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to locate chromedriver.exe #43

Open
cp4r3z opened this issue Nov 8, 2016 · 6 comments
Open

Unable to locate chromedriver.exe #43

cp4r3z opened this issue Nov 8, 2016 · 6 comments

Comments

@cp4r3z
Copy link

cp4r3z commented Nov 8, 2016

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

@axemclion
Copy link
Owner

@cp4r3z Are you able to run regular protractor tests ?

@cp4r3z
Copy link
Author

cp4r3z commented Nov 8, 2016

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

@axemclion
Copy link
Owner

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 ?

@cp4r3z
Copy link
Author

cp4r3z commented Nov 8, 2016

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

protractor-perf_folder_structure

@axemclion
Copy link
Owner

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 ?

@cmrock
Copy link

cmrock commented Nov 15, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants