Selenium: unable to sendkey in selenium - call function result missing 'value'

Created on 24 Mar 2018  Â·  9Comments  Â·  Source: SeleniumHQ/selenium

Meta -

OS: Window 7
Selenium Version: 3.8.1
Browser: Chrome 65.0.3325.181

Expected Behavior -

on email control "rahul" should get typed

Actual Behavior -

facebook page iopened and "rahul" is not typed. it display below error
Exception in thread "main" org.openqa.selenium.WebDriverException: unknown error: call function result missing 'value'
Note: It was running good uesterd although I found this error today.
Note: Chrome Version-65.0.3325.181

Steps to reproduce -

I have written below code
driver.get("http://facebook.com");
driver.findElement(By.xpath("//*[@id='email']")).sendKeys("rahul");

Most helpful comment

Closing issue since this is a version compatibility issue that can be fixed by updating the chromedriver binary.

All 9 comments

I had this exact same issue yesterday. Upgraded chrome driver to the latest
2.37 and browser to 65. Issue is resolved.

On Sat, Mar 24, 2018, 9:35 AM oxiput notifications@github.com wrote:

Meta -

OS:

Selenium Version:

Browser:

Browser Version:
Expected Behavior -

on email control "rahul" should get typed
Actual Behavior -

facebook page iopened and "rahul" is not typed. it display below error
Exception in thread "main" org.openqa.selenium.WebDriverException: unknown
error: call function result missing 'value'
Note: It was running good uesterd although I found this error today.
Note: Chrome Version-65.0.3325.181
Steps to reproduce -

I have written below code
driver.get("http://facebook.com");
driver.findElement(By.xpath("//*[@id https://github.com/id
='email']")).sendKeys("rahul");

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SeleniumHQ/selenium/issues/5674, or mute the thread
https://github.com/notifications/unsubscribe-auth/AHcy_m1zmC4JTPi-bIBWOEef7phtkYXoks5thkurgaJpZM4S5vJG
.

On 22 March, Chrome got the new update due to which this issue arises.
In case upgrading the chromedriver to 2.37 with chrome version 65 this doesn't work, then simply downgrade your chrome to 64 then it will work.

Worked for me...

Another question arises, how to stop chrome from the auto update. Well, I am sure little r&d on google will help you to get rid of this chrome auto update problem as well.

Thanks. It works after installing the latest version of Chromedriver.exe :)

Closing issue since this is a version compatibility issue that can be fixed by updating the chromedriver binary.

Have that error, when update browser:
org.openqa.selenium.SessionNotCreatedException: session not created exception

(Session info: chrome=65.0.3325.181)
(Driver info: chromedriver=2.37.544337

Any idea?

install chrome64_64.0.3282.140, worked for me

Upadting Selenium.WebDriver.ChromDriver v2.38.0 did the trick. I´m using Visual Studio and accesed through Nuget Package Manager.

Chrome : Version 66.0.3359.139 (Official Build) (64-bit)
Chromedriver : 2.38

Hello below is my code :

it('should load url', function(done) { driver.get('https://www.google.com/'); driver.findElement(webdriver.By.name('q')).click(); driver.findElement(webdriver.By.name('q')).sendKeys('mocha docs'); });

and i am getting following error :

Uncaught WebDriverError: unknown error: call function result missing 'value ' (Session info: chrome=66.0.3359.139) (Driver info: chromedriver=2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d902 3f),platform=Windows NT 6.1.7601 SP1 x86_64)

Updating to chrome 66 and driver 2.38 solved it for me

Was this page helpful?
0 / 5 - 0 ratings