Selenium WebDriverException: Unknown error: result of call function missing "value" when calling sendkeys method

When you try to call the Sendkeys method in selenium webdriver, it appears below:

Exception in thread "main" org.openqa.selenium.WebDriverException: unknown error: call function result missing 'value'  
 (Session info: chrome=65.0.3325.146)  
 (Driver info: chromedriver=2.27.440174 (e97a722caafc2d3a8b807ee115bfb307f7d2cfd9),platform=Windows NT 6.1.7600 x86_64) (WARNING: The server did not provide any stacktrace information)

Selenium Jarversion: 3.10.0

+7
source share
3 answers

The error says it all:

Exception in thread "main" org.openqa.selenium.WebDriverException: unknown error: call function result missing 'value'
(Session info: chrome=65.0.3325.146)
(Driver info: chromedriver=2.27.440174 (e97a722caafc2d3a8b807ee115bfb307f7d2cfd9),platform=Windows NT 6.1.7600 x86_64) 

The main problem is version compatibility between the binaries you use as follows:

Chrome support v54-56

Chrome v65-66

  • Selenium Client - 3.10.0.
  • JDK .

, ChromeDriver (v2.27) Chrome (v65.0)

+12

ChromeDriver ; :

  • , (v65-67) ChromeDriver (v2.38)
  • ChromeDriver System ChromeDriver...

:

  1. System.setProperty("webdriver.chrome.driver", "/path/to/chromedriver.exe");
  2. WebDriver driver = new ChromeDriver();
+2

I ran into the same problem. The problem was resolved by updating chromedriverexe. please check your Chrome browser compatibility with the Chrome driver here. To download chromedriver

0
source

Source: https://habr.com/ru/post/1694735/


All Articles