After chrome update to version 87.0.4280.141 getting error "Driver info: driver.version: unknown" - protractor

enter image description here
i have tried "npm install chromedriver",still its not working for me.
Please let me know if anyone has a solution.

Try to download the chromedriver from here: https://chromedriver.storage.googleapis.com/index.html?path=87.0.4280.88/

if you are using chromedriver with selenium, u can try updating your selenium version. That might help !!!

Related

shared_preference 2.0.6 version

I can't dowload shared_preference. please help
enter image description here
here there is no shared preferenece. I clicked pub get and my internet connection is also good
I have found answer to my problem
Just I had written $ flutter pub cache repair
to terminal

Not able to launch chrome in protractor

While launching conf.js file in protractor its giving below error :
ERROR [OsProcess.checkForError] - org.apache.commons.exec.ExecuteException: Execution failed (Exit value: -559038737. Caused by java.io.IOException: Cannot run program "/usr/local/lib/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_87.0.4280.88" (in directory "."): error=86, Bad CPU type in executable)
https://github.com/angular/webdriver-manager/issues/476
Fix will be available soon this weekend. but you will get a workaround by doing this.
As I badly needed to get unblocked - here is a hacky workaround for anyone in similar situation (only for x86_64 macOS). In node_modules/webdriver-manager/built/lib/files/file_manager.js update fileUrl.url around 166:
add below line
fileUrl.url = fileUrl.url.replace(/_m1/, '')
Was facing the similar issue in MacOs Catalina.
This is how it got resolved for me with below versions :
Option 1 :
Download these :
https://chromedriver.storage.googleapis.com/71.0.3578.33/chromedriver_mac64.zip
https://selenium-release.storage.googleapis.com/3.14/selenium-server-standalone-3.14.0.jar
And made the Selenium server UP with this :
java -Dwebdriver.chrome.driver=./chromedriver_71.0.3578.33 -jar ./selenium-server-standalone-3.141.59.jar -port 4444
Option 2 :
Protractor :
Use the below versions :
webdriver-manager update --versions.chrome=71.0.3578.33
webdriver-manager --versions.chrome=71.0.3578.33 start
Got an Error
"Timed out waiting for driver server to start." After running
webdriver-manager update
Resolved it by downgrading to the previous version of webdriver that was working for you.
Steps:
navigate to node_modules/protractor/node_modules/webdriver-manager/selenium/
check if you can see the last chromedriver that you were using before the update
for my case this is chromedriver_86.0.4240.22
since I still have my previous chromedriver, I just Deleted
chromedriver_87.0.4280.88
chromedriver_87.0.4280.88.zip
in node_modules/protractor/node_modules/webdriver-manager/selenium/update-config.json
I changed all instances of chromedriver_87.0.4280.88 and replaced with chromedriver_86.0.4240.22
Run your tests.
Incase you dont know what was the last version that worked for you, you can try
webdriver-manager update --versions.chrome=86.0.4240.22
or look for a version here
This is what worked for me:
Update the protractor version to current stable version: "protractor": "^7.0.0", npm install was the way to go for me, yours will be similar
Update the webdriver: webdriver-manager update with or without sudo is the right command as stated in other answers
Run the webdriver manager with the current chrome version, this is the command that I use for application: webdriver-manager start --versions.chrome=88.0.4324.96 as my chrome is currently at that version, replace it with your chrome's version (87.0.4280.88 as per the question)

In Protractor, Error “session not created: This version of ChromeDriver only supports Chrome version 84”

I have this problem for a few day and I have noticed that chromedriver version has been upgraded automaticlly to the 86. So I am guessing I need to downgrade it to 84. But I am not sure. May be I should upgrade something but I do not know what. My webdriver-manager vesrion is "webdriver-manager": "^12.1.7",
Any hints, please?
Try the below command to resolve the webdriver update issue
node node_modules/protractor/bin/webdriver-manager update --versions.chrome=<desired chrome version> --standalone --gecko=false --ignore_ssl
Try this if you want to run on chrome browser.
In protractor sometime gets Error: ”Session not created ” because of not supported/incompatibility driver version for current browser version.
I have tried below steps:
Step 1: Delete selenium folder inside webdriver-manager .
All browser driver should be presented in this folder.
Path: ..\node_modules\protractor\node_modules\webdriver-manager\selenium
Step 2: node node_modules/protractor/bin/webdriver-manager update - This will download all browser driver versions inside selenium folder.
Or else you can update webdriver-manager with specific version you want.
node node_modules/protractor/bin/webdriver-manager update --versions.chrome=XX.X.XXXX.X

Failed to apply plugin in android studio

I am working on an app its work good. after i apply external plugin that return error Failed to apply plugin .
my build tool version 2.2.3
and compile version 24
Unfortunately, the suggestion of G.K. did not work!
Please run the following command in your terminal:
.gradlew clean --refresh-dependencies
This will grap the newest version of the Calldorado plugin that is causing this error. The newest version has a fix in it.

How to install cocos2dx on a mac?

I am following this tutorial to install cocos2d on a mac with eclipse.
http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Installation_guide_of_Android_ndk_r4b_development_environment
I get as far as installing the ndk and I get the following error below when I try and execute ndk-build. I have set my paths correctly so im not sure why this is happening. Can anyone help me? Thanks
Davids-iMac:android-ndk-r8b davidcavanagh$ sh ndk-build
Android NDK: Your APP_BUILD_SCRIPT points to an unknown file:
/Documents/Development/android-ndk-r8b/jni/Android.mk
/Users/davidcavanagh/Documents/Development/android-ndk-r8b/build/core/add-
application.mk:133: *** Android NDK: Aborting... . Stop.
I believe this tutorial is much better than the original website.
All my environment setup is based on it.
http://gameit.ro/2012/01/creating-an-iphone-and-android-cocos2d-x-hybrid-project-updated/