Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

dk4210's avatar

Dusk chrome driver error - unknown error: call function result missing 'value'

Hello Guys,

I'm having a strange problem with the chrome driver for running tests. It's been working fine for months and all of a sudden i get an error when running my tests.

Here's the error (simplified)

Tests\Browser\Elements\LoginTest::testExample Facebook\WebDriver\Exception\UnknownServerException: unknown error: call function result missing 'value' (Session info: chrome=65.0.3325.181) (Driver info: chromedriver=2.28.455520 

Here's the entire error message

success: "Warning: TTY mode is not supported on Windows platform. PHPUnit 5.7.23 by Sebastian Bergmann and contributors. E 1 / 1 (100%) Time: 4.36 seconds, Memory: 12.00MB There was 1 error: 1) Tests\Browser\Elements\LoginTest::testExample Facebook\WebDriver\Exception\UnknownServerException: unknown error: call function result missing 'value' (Session info: chrome=65.0.3325.181) (Driver info: chromedriver=2.28.455520 (cc17746adff54984afff480136733114c6b3704b),platform=Windows NT 6.1.7601 SP1 x86_64) C:\xampp\htdocs\automation_team\vendor\facebook\webdriver\lib\Exception\WebDriverException.php:114 C:\xampp\htdocs\automation_team\vendor\facebook\webdriver\lib\Remote\HttpCommandExecutor.php:320 C:\xampp\htdocs\automation_team\vendor\facebook\webdriver\lib\Remote\RemoteWebDriver.php:535 C:\xampp\htdocs\automation_team\vendor\facebook\webdriver\lib\Remote\RemoteExecuteMethod.php:40 C:\xampp\htdocs\automation_team\vendor\facebook\webdriver\lib\Remote\RemoteWebElement.php:66 C:\xampp\htdocs\automation_team\vendor\laravel\dusk\src\Concerns\InteractsWithElements.php:169 C:\xampp\htdocs\automation_team\tests\Browser\Todaytest.php:33 C:\xampp\htdocs\automation_team\vendor\laravel\dusk\src\TestCase.php:91 C:\xampp\htdocs\automation_team\tests\Browser\Todaytest.php:63 ERRORS! Tests: 1, Assertions: 0, Errors: 1. ",

The steps I've taken

  1. Upgraded chrome browser
  2. Updated the chrome driver to 2.27.544315
  3. Updated npm
  4. Ran composer update 5 ran npm update
  5. Viewed other sources

Still no luck.

Any one have any ideas?

0 likes
8 replies
dk4210's avatar

not sure why it says "chromedriver=2.28.455520"

impbob36's avatar
impbob36
Best Answer
Level 50

I had that error after I update Dusk recently. Chrome v65 requires a newer version of the Chrome Driver. The version I had success with is here: https://chromedriver.storage.googleapis.com/index.html?path=2.37/

  1. Manually download the file for OS version your using,
  2. Copy it { laravel root}\vendor\laravel\dusk\bin
  3. Rename it according to the OS version expected by Dusk. EG. The ZIP for Linux extract to filename chromedriver.exe but Dusk wants the filename to be chromedriver-linux. I'd rename the old file before replacing it just incase you need that version

My project is stuck on PHP5.6 so I'm using a Dusk 1.x release and it doesn't dynamically download the correct version.

5 likes
dk4210's avatar

Worked like a charm! Can't thank you enough!

elgabo.msn@gmail.com's avatar

It seems that's not enough to download a new chromedriver version, you also need to stop old chromedriver process (e.g. 'pkill chromedriver-li' for linux) and only then worked as expected.

2 likes
impbob36's avatar

On Windows, use taskkill /IM chromedriver-win.exe /F

But with Windows, you're usually better off with a restart after installing any software.

Please or to participate in this conversation.