Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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?

like image 740
KAK Avatar asked May 29 '17 14:05

KAK


People also ask

What is update config JSON?

Update-config. json uses the JSON file extension, which is more specifically known as a JavaScript Object Notation file. It is classified as a Internet Web (JavaScript Object Notation) file, created for Mozilla Firefox 69.0. 1 by Mozilla Foundation. The first version of update-config.


1 Answers

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

like image 147
tbo47 Avatar answered Oct 02 '22 20:10

tbo47