Unable to execute protractor, getting "Could not find update-config.json" error message

update-config.json example
protractor js
protractor config file
protractor api
protractor typescript
webdriver-manager update
protractor directconnect
protractor sendkeys

When I'm trying to execute my <configuration>.js file, I'm getting the error below:

[14:49:13] I/launcher - Running 1 instances of WebDriver
[14:49:13] I/direct - Using ChromeDriver directly...
[14:49:13] E/direct - Error code: 135
[14:49:13] E/direct - Error message: Could not find update-config.json. Run 'webdriver-manager update' to download binaries.
[14:49:13] E/direct - Error: Could not find update-config.json. Run 'webdriver-manager update' to download binaries.

I ran the command webdriver-manager update and tried to execute the file, but the same error persists. Can anyone help me to overcome the same?

directConnect does not use the global installed version but the version that is provided by Protractor in node_modules/protractor/node_modules/webdriver-manager/. You will need to update that one.

If you have a global version installed the command webdriver-manager update will update the global installed webdriver-manager. If you have a global installed version please remove it, or don't use the directConnect and adjust you protractor config with seleniumAddress: 'http://localhost:4444/wd/hub/'

Hope it helps

Can´t start protractor, for firefox browser, due a error "Could not find , json. Run 'webdriver-manager update' to download binaries." I executed the "​webdriver-manager update" but it didn´t resolve. it didn't work, still, I'm unable to install protractor – ShadowTK Aug 3 '17 at 11:51. Unable to run protractor test in browserstack on ios device. 0.

Using node_modules/protractor/bin/webdriver-manager update worked for me.

failing on protractor test/protractor-conf.js · Issue #168 · angular , 9 info angular-phonecat@0.0.0 Failed to exec protractor script 10 error example on Mac and get this error for 'npm run protractor' command. Hi All, I am new to Protractor.I am not sure, if this is the right place to discuss Protractor issue. Please direct me to the right group if this is not the right place for this discussion. I am unable to run protractor test case from ec

I had this error in VSCode after I upgraded to angular-cli v6.0.8. Trying to change the protractor.conf file to use directConnect: false and add a seleniumAddress didn't work for me.

However, I was able to fix this by simply stopping any running server (or lite server instances), restart VSCode, and restart the servers. I'm now able to run protractor 5.3.0 with @angular/cli 6.0.8 while still using directConnect: true.

Chapter 10: Advanced Protractor topics, In chapter 8, you used one way to run Protractor tests. To get these binaries, run webdriver-manager update --standalone false . Because you're running Chrome without a user interface, being able to log network traffic helps you validate  Protractor - Getting Started - In the previous chapters, we have learnt the basics of Protractor. In this chapter, let us learn how to install and configure it.

Standalone Selenium Server - Protractor, To install and start the standalone Selenium Server manually, use the webdriver-​manager command line tool, which comes with Protractor. Run the update  I am trying to install Protractor on the companies Windows laptop. One of the steps is to run webdriver-manager update command in the console. Error: unable to

Timeouts, When navigating to a new page using browser.get , Protractor waits for the page to be loaded To work around this, run these tasks outside the Angular zone. Looks like: an error in your test results - Angular could not be found on the page:​  juliemr commented Oct 1, 2015. @jskrepnek It is indeed expected to have to wait if a command other than get or refresh causes a page reload. Currently, there is no way for Protractor to know if a click event would cause a page reload, so it's unable to do the same waiting that occurs with protractor.get.

Using the Protractor Automation Tool to Test AngularJS Applications, You should be able to see the test execution progress and its status on the I am getting below error while executing “npm install –g protractor” through  i want to configure it on jenkins where after executing webdriver-manager start --ie , we are not unable to execute protractor test case config.js file , because both need to run in separate windows: please provide proper solution . You can use --detach key. It will run selenium server in background.

  • Are you using directConnect, or do you have a local webdriver-manager installed?
  • I'm using the dirctconnect (directConnect: true).
  • Did you run a webdriver-manager update before running?
  • Yes I have run the comment. I'm using the corporate proxy so I execute the comment as webdriver-manager update --proxy=xxx.xxx.xxx.xxx:xxxx
  • This worked for me. I set directConnect to false, added seleniumAddress and ran webdriver-manager start
  • fwiw my local webdriver manager was here node_modules/protractor/bin/webdriver-manager update
  • In case anyone's new to node like me its node node_modules/protractor/bin/webdriver-manager update