-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dusk 7.9.0 \ chromedriver.exe path not found #1044
Comments
Something is going wrong with the renaming - it is not finding the directory separator, or it is finding more than one separator. So it expects the directory to be chromedriver-win-win32. I'm on a mac so it all works fine for me. Maybe replace line 239 of Console\ChromeDriverCommand.php with Str::afterLast? |
Before we do that, can we replicate the issue first? which means knowing the installed Chrome version. I don't have Windows running at the moment but running |
My colleague had the same issue last night with version 115. He had to manually rename the file to get the dusk tests to work. He was running Windows. |
@alex3162 Can you share the value of |
I'm on a mac and I don't have the issue. I'll be able to get back to you soon - Waiting for my colleague to get off a call.... |
The binary is But the directory separator for windows is If you look at @Buroob's error message, there is a mix of |
@alex3162 Can you ask your colleague to test out the changes in this PR: https://github.com/laravel/dusk/pull/1045/files |
Yep - It works |
fixes #1044 Signed-off-by: Mior Muhammad Zaki <[email protected]>
Released now 👍 |
Thanks a lot. 😄
|
…#1045) fixes laravel#1044 Signed-off-by: Mior Muhammad Zaki <[email protected]>
Dusk Version
7.9.0
Laravel Version
10.16.1
PHP Version
8.2.3
PHPUnit Version
10.2.6
Database Driver & Version
No response
Description
Hello,
I'm on windows 11.
I have ugraded my project to the last version (7.9.0) of Dusk (ok on 7.8.0).
When I launch the command
dusk:chrome-driver
I have this error :How can I resolved this issue please ?
Thanks for your help.
Steps To Reproduce
On Windows 11 :
php artisan dusk:chrome-driver
The text was updated successfully, but these errors were encountered: