Dmitri Zaitsev Dmitri Zaitsev - 1 year ago 176
AngularJS Question

Protractor does not find chromedriver: The driver executable does not exist:

I am trying to get Protractor up and running following the official Getting Started Guide.

The command

webdriver-manager start

seems to run smoothly:

webdriver-manager start 22169
Apr 23, 2014 10:27:46 AM org.openqa.grid.selenium.GridLauncher main
INFO: Launching a standalone server
Setting system property to /usr/local/lib/node_modules/protractor/selenium/chromedriver
10:27:46.959 INFO - Java: Apple Inc. 20.65-b04-462
10:27:46.960 INFO - OS: Mac OS X 10.8.5 x86_64
10:27:46.968 INFO - v2.41.0, with Core v2.41.0. Built from revision 3192d8a
10:27:47.021 INFO - Default driver registration is skipped: registration capabilities Capabilities [{platform=WINDOWS, ensureCleanSession=true, browserName=internet explorer, version=}] does not match with current platform: MAC
10:27:47.059 INFO - RemoteWebDriver instances should connect to: <link deleted>
10:27:47.059 INFO - Version Jetty/5.1.x
10:27:47.060 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
10:27:47.060 INFO - Started HttpContext[/selenium-server,/selenium-server]
10:27:47.061 INFO - Started HttpContext[/,/]
10:27:47.092 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@4cc39a20
10:27:47.092 INFO - Started HttpContext[/wd,/wd]
10:27:47.096 INFO - Started SocketListener on
10:27:47.096 INFO - Started org.openqa.jetty.jetty.Server@1d5a0305

However, running

protractor /usr/local/lib/node_modules/protractor/example/conf.js

as suggested leads to errors:

protractor /usr/local/lib/node_modules/protractor/example/conf.js
Using the selenium server at <link deleted>

throw error;
UnknownError: The driver executable does not exist: /usr/local/lib/node_modules/protractor/selenium/chromedriver
at <anonymous>

and the old window throws exception:

10:30:19.106 WARN - Exception thrown
java.util.concurrent.ExecutionException: org.openqa.selenium.WebDriverException: java.lang.reflect.InvocationTargetException
Build info: version: '2.41.0', revision: '3192d8a', time: '2014-03-27 17:17:32'
System info: host: 'Dmitris-MacBook-Pro.local', ip: '', 'Mac OS X', os.arch: 'x86_64', os.version: '10.8.5', java.version: '1.6.0_65'
Driver info: driver.version: unknown
at java.util.concurrent.FutureTask$Sync.innerGet(
at java.util.concurrent.FutureTask.get(
at org.openqa.selenium.remote.server.DefaultSession.execute(
at org.openqa.selenium.remote.server.DefaultSession.<init>(
at org.openqa.selenium.remote.server.DefaultSession.createSession(
at org.openqa.selenium.remote.server.DefaultDriverSessions.newSession(
at org.openqa.selenium.remote.server.handler.NewSession.handle(
10:30:19.110 WARN - Exception: The driver executable does not exist: /usr/local/lib/node_modules/protractor/selenium/chromedriver

Any idea what is wrong?

Answer Source

Delete that un-completed zip file(, and you need it execute the update again. The folder will look like this:



and everything goes well.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download