Reputation: 11
I've been using the Watir webdriver for a while now and out of the blue I'm getting the following error:
Selenium::WebDriver::Error::UnknownError
unknown error: call function result missing 'value'
when trying to set text and other functions.
The script worked fine yesterday... so something has gotten updated and stopped working. I've already tried updating the chromedriver to the latest one, but am still getting the error.
chrome=65.0.3325.146 chromedriver=2.31.488774
ActionView::Template::Error (unknown error: call function result missing 'value' (Session info: chrome=65.0.3325.146) (Driver info: chromedriver=2.31.488774 (7e15618d1bf16df8bf0ecf2914ed1964a387ba0b),platform=Mac OS X 10.13.3 x86_64)):
12: browser.goto 'www.ANYURL.com'
13: browser.text_field(id: 'inputs-newEmail').set @keyword.email
Has anyone seen this issue before? I'm on a MacBook Pro High Sierra 10.13.3
Thanks
Upvotes: 1
Views: 359
Reputation: 193058
The error says it all :
ActionView::Template::Error (unknown error: call function result missing 'value' (Session info: chrome=65.0.3325.146) (Driver info: chromedriver=2.31.488774 (7e15618d1bf16df8bf0ecf2914ed1964a387ba0b),platform=Mac OS X 10.13.3 x86_64)):
Your main issue is the version compatibility between the binaries you are using as follows :
Supports Supports Chrome v58-60
Supports Chrome v64-66
So there is a clear mismatch between the ChromeDriver version (v2.31) and the Chrome Browser version (v65.0)
@Test
.Upvotes: 0
Reputation: 46826
Chrome 65 is only supported by ChromeDriver 2.36 - see https://sites.google.com/a/chromium.org/chromedriver/downloads:
Therefore, you will need to update your ChromeDriver version to 2.36.
Upvotes: 1