Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

unknown error: call function result missing 'value' for Selenium Send Keys even after chromedriver upgrade

I am getting the below error while sending keys.

Result Message:

System.InvalidOperationException : unknown error: call function result missing 'value'
  (Session info: chrome=65.0.3325.146)
  (Driver info: chromedriver=2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f),platform=Windows NT 10.0.14393 x86_64)

I have updated the chrome driver to 2.36 but still my code search for 2.33?

Any idea ?

like image 989
Zaki Ahmed Avatar asked Mar 07 '18 23:03

Zaki Ahmed


3 Answers

I've gotten the same error, please download the last ChromeDriver version and/or update chrome browser version and it will be working fine :)

https://chromedriver.storage.googleapis.com/index.html?path=2.36/

like image 180
Coder Avatar answered Oct 23 '22 04:10

Coder



After updating the Google Chrome browser to Version 65.0.3325.146 (Official Build) (64-bit), I'm also encountered with the same error while sending values to the input field, here's the error message...

selenium.common.exceptions.WebDriverException: Message: unknown error: call function result missing 'value'

using Chromedriver 2.32 and Google Chrome 65.0

As I did some research on the same, I found a recent commit on Google chrome v65 changelogs which help me to resolve the issue.

Solution:

  • Update Google Chrome to latest stable version (in my case it's v65 on 9/mar/2018)
  • Download and configure latest chromedriver (v2.36). For configuring chromedriver (on Ubuntu) follow these steps...

    1. Extract the downloaded zip file.
    2. Copy the extracted chromedriver file to /usr/local/bin or to the location where you usually store the executable binaries.
    3. Add the same path (where you place the chromedriver file) to environment variable PATH as

export PATH=$PATH:/usr/local/bin

  1. For testing the installation, restart the terminal and type this command

chromedriver --version

it would show the version of chromedriver that you just installed.

Note: If the chromedriver already installed and configured then just replace the existing driver file and If you don't know where the Chromedriver binaries already stored then try to find the file using following command

 sudo find -H / -type f -iname chromedriver
like image 23
Akay Nirala Avatar answered Oct 23 '22 05:10

Akay Nirala


It is because of the update of chrome browser version from 64.xx to 65.xx

Now you have 2 options to run your tests successfully.

  1. Downgrade your chrome browser to previous version and with the old chromedriver which you have now.

  2. Upgrade your Chromedriver to 2.36 version with the updated Chrome browser.

    visit https://chromedriver.storage.googleapis.com/index.html?path=2.36 and download the new chromedriver.

Option 2 is better.

like image 14
Deepak N Avatar answered Oct 23 '22 05:10

Deepak N