• Register
0 votes

Problem :

I am trying to learn the Selenium by myself. But now my Sendkeys is not working. Can anybody please help me to fix my issue.

My code is as below:

WebElement uname = driver.findElement(By.xpath("//*[@id='username']"));      

Below is the error:

Exception in thread "main" org.openqa.selenium.WebDriverException: unknown error: call function result missing 'value'
(Session info: chrome=65.0.3325.31)
  (Driver info: chromedriver=2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f),platform=Windows NT 6.1.7601 SP1 x86) 
(WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
Build info: version: '3.8.1', revision: '6e95a6684b', time: '2017-12-01T19:05:32.194Z'
System info: host: 'NEW-PC', ip: '', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_161'


8 4 2
2,300 points

1 Answer

0 votes

Solution :

I had faced this problem before, I guess it is due to the chrome 65 if you can go back to chrome 64 and if the problem disappears then you are good otherwise you will need to follow below steps.

·  Download latest chrome driver and also download the compatible chrome browser for it.

·  After that you can set the system property as shown below

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

·  My experience says existing files are being cached sometimes in the agent nodes.                                  

So you need to delete the below files and see if it resolves your problem.  

<install_Location>\RedwoodHQ Agent\agent\cache\*.*                           

<install_Location>\RedwoodHQ Agent\agent\executionfiles\*.*

Hope it helps you in solving your issue.

5 2 1
4,980 points

Related questions

0 votes
1 answer 9 views
I am finding a program that will help me to handle multiple windows in Selenium Webdriver.
asked Oct 5 Daniel Anderson 4k points
0 votes
1 answer 14 views
Problem: I am very new to Selenium and Java both. I am trying to select and get the dropdown value in a Selenium WebDriver using the Java. The HTML Code is as below: <select class="form_input_select bx-def-font" name="Sex[0]"> <option value="Male">Man</option> < ... it only shows _Others Kindly help me to solve above issue. I am unable to fix above issue after working on it for more than 3 days.
asked Jul 9 Raphael Pacheco 4.9k points
0 votes
2 answers 175 views
Problem : Facing following Selenium Webdriver error the path to the driver executable must be set by the webdriver.chrome.driver system property
asked Nov 15, 2019 peterlaw 6.9k points