-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Protractor 3.2.2 directconnect to npm:chromedriver fails on Windows 8 with ENOENT #3069
Comments
Yes, 3.2.1 has a hot fix. Please use 3.2.2, run |
Hi @cnishina , thanks for your reply. I was having this issue when using protractor Given I was using directConnect and providing the path to |
Oh cool, you're online, if you are using |
Also, maybe the example conf.js could provide some clarity, no |
ya I'm in AU so not too late ;) Looking at the IMO A small update to those lines that mentions the default behaviour would help, although I didn't know that file was available until now (related doc issue: how to find that really helpful referenceConf.js ?) ! I've just rerun to confirm the use of default paths. Note I do not have access to the windows box ATM. I will confirm the behaviour on windows tomorrow and post an update. |
Also this may help: https://github.com/angular/protractor/blob/master/lib/driverProviders/direct.js#L53 If you are using 3.2.1, it will use the download the zip file and unzip it as |
Hi @cnishina , I've verified that on Windows with protractor 3.2.2 the You should close this bug report as Kyle error ! |
I'll go ahead and close this as it looks like this is resolved. Thanks for reporting back @kylezeeuwen! |
Bug report
v5.3.0
3.2.2
Chrome 48.0.2564.116
Windows 8.1 Enterprise
Easy to preproduce on Windows with a minimal set of files:
package.json:
protractor-conf.js is provided above
features/testFeature.feature is a copy of https://github.com/angular/protractor/blob/master/example/example_spec.js
Steps:
OP Notes
Apologies if this is actually a selenium-webdriver issue.
I think that this bug is occurring because node childProcess.spawn has issues on Windows.
I noticed that a recent protractor checkin to the protractor build chain addresses a similar issue : a79fd29
To debug the issue I followed the instructions in this post and http://stackoverflow.com/questions/27688804/how-do-i-debug-error-spawn-enoent-on-node-js and registered the spawn wrapper in protractor-conf.js. This was the output:
Workaround
Apply the following conditional in your protractor-conf.js config:
The text was updated successfully, but these errors were encountered: