webdriverio: "unknown error: call function result missing 'value'"
The problem
At my work, we use webdriverio with chrome. It appears that the chromedriver may be sending responses back that webdriverio can’t handle.
Environment
- WebdriverIO version: 4.11.0
- Node.js version: 8.9.4
- Standalone mode or wdio testrunner: standalone
- chrome 65.0.3325.146-1
Details
Certain commands sent to Chrome reap responses that webdriverio doesn’t seem able to handle.
Link to Selenium/WebdriverIO logs
[chrome #0-0] Failed: unknown error: call function result missing 'value'
[chrome #0-0] Error: An unknown server-side error occurred while processing the command.
[chrome #0-0] at elementIdValue("0.9833432935579824-2", "foo") - setValue.js:46:80
[chrome #0-0] Failed: unknown error: call function result missing 'value'
[chrome #0-0] Error: An unknown server-side error occurred while processing the command.
[chrome #0-0] at execute(<Function>, 92, 2219) - scroll.js:104:26
I can confirm that downgrading to chrome 64.0.3282.186-1 fixes it.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 20
- Comments: 37 (4 by maintainers)
Commits related to this issue
- Update selenium-standalone to 6.13 to have the 2.36 chromedriver fix - See https://github.com/vvo/selenium-standalone/commit/0e5e206342114631742ec6c8bfdd1ffd8bd0e36e and https://github.com/webdriveri... — committed to davidaubin/wdio-selenium-standalone-service by deleted user 6 years ago
- Update selenium-standalone to 6.13 to have the 2.36 chromedriver fix - See vvo/selenium-standalone@0e5e206 and webdriverio/webdriverio#2631 for details — committed to davidaubin19/wdio-selenium-standalone-service by deleted user 6 years ago
- Update selenium-standalone to 6.13 to have the 2.36 chromedriver fix - See vvo/selenium-standalone@0e5e206 and webdriverio/webdriverio#2631 for details — committed to davidaubin19/wdio-selenium-standalone-service by deleted user 6 years ago
- Update wdio-selenium-standalone-service and webdriverio (fixes failing tests) This updates wdio-selenium-standalone-service from 0.0.8 to 0.0.10, and webdriverio from 4.8.0 to 4.13.0. Running `npm o... — committed to alphagov/accessible-autocomplete by hannalaakso 6 years ago
- Update chromedriver to 2.36 - https://github.com/webdriverio/webdriverio/issues/2631\#issuecomment-371072596 — committed to mauriciovieira/supersales by mauriciovieira 6 years ago
- Run chrome on ubuntu, not docker - https://stackoverflow.com/questions/42210295/travis-unable-to-find-chromedriver - https://github.com/webdriverio/webdriverio/issues/2631\#issuecomment-371072596 — committed to mauriciovieira/supersales by mauriciovieira 6 years ago
- Change browser to Firefox for E2E - Due to known bug using Chrome driver below 2.36. See https://github.com/webdriverio/webdriverio/issues/2631 — committed to marcosflobo/cheetah by deleted user 6 years ago
after update chromedriver to 2.36 can fix mine https://sites.google.com/a/chromium.org/chromedriver/downloads
For all those who still get the error: are you sure you have updated the actually used dependency to
chromedriver? 🙂If you manage
chromedriveryourself, i.e. you executechromedriverin some Terminal tab before launching your tests, then you should indeed update the executable itself. If, on the other hand, you are executingchromedriverthroughwdio-selenium-standalone-service, you’ll need to update it tov0.0.10to get the update.If you’re using Homebrew and are having trouble updating
chromedriverto the latest version (if you installed it withbrew install chromedriver) you might need to uninstall it and reinstall it again as it has been migrated to a cask.TL;DR
same issue with chrome 65
unknown error: call function result missing 'value' running chrome Error: An unknown server-side error occurred while processing the command.at elementIdValue("0.22831194167614743-1", "xxx@mailinator.com") - setValue.js:46:80Having the same issue. I just updated ChromeDriver (now at 2.36.540469) and Chrome (now at 65.0.3325.146), but I am still getting this issue. Have I missed something?
I had the similar issue and despite that I have upgraded to
chromedriver 2.36selenium standalone was still picking up old version2.33.5of the chromedriver.Solution worked for me is :
I hope this helps
Yes, please update the Chromedriver then. Doesn’t seem to be an issue with WebdriverIO.
The OP didn’t mention the way he is running Selenium. If you are using
selenium-standalonenpm package then in yourpackage.jsonupgrade to the latest minor versions:New - working
Old - not working
Do again:
npm install./node_modules/.bin/selenium_standalone installthenstartSee changes: https://github.com/vvo/selenium-standalone/commit/0e5e206342114631742ec6c8bfdd1ffd8bd0e36e#diff-1370e254e90fb1adbfb1bb0264020501R6
Kudos to @christian-bromann and the wdio community for the speed of fixes. The other communities/projects are yet to figure out the issue let alone release a fix.
I’m happy to be a webdriverio user, much love to you all.
Upgraded the ChromeBrowser from 56 to 65 & ChromeDriver to 2.38 and it worked fine for me.
After downloading the latest v2.38 chromedriver, update selenium-standalone and webdriverio, it still doesn’t work. I installed npm chromedriver and it solved everything 😃
npm install chromedriverthenrequire('chromedriver');in your fileThanks, this also fixed the issue for us:
“selenium-standalone”: “^6.13.0” “webdriverio”: “^4.12.0”
Updating my package.json to newest versions:
Solved the issue for me. Thanks!!
I just started having this problem on Windows after updating from Chrome Version 63.0.3239.132 (Official Build) (64-bit) to 65.0.3325.146 (Official Build) (64-bit).
But after updating chromedriver from 2.33 to 2.36, I am no longer seeing this error.