not sure why it says "chromedriver=2.28.455520"
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
- Upgraded chrome browser
- Updated the chrome driver to 2.27.544315
- Updated npm
- Ran composer update 5 ran npm update
- Viewed other sources
Still no luck.
Any one have any ideas?
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/
- Manually download the file for OS version your using,
- Copy it
{ laravel root}\vendor\laravel\dusk\bin - Rename it according to the OS version expected by Dusk.
EG. The ZIP for Linux extract to filename
chromedriver.exebut Dusk wants the filename to bechromedriver-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.
Please or to participate in this conversation.