You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Windows I get the error message "Symfony\Component\Panther\Exception\RuntimeException: Could not start chrome. Exit code: 1 (General error). Error output: The command "." is either misspelled or could not be found."
To fix the issue on Windows I changed the hardcoded path "./drivers" in ChromeManager::findChromeDriverBinary (line 89 in version 2.2.0) to ".\drivers".
Searching for the issue I found that in some older versions of Panther it was possible to create a ChromeClient directly, telling it the drivers-path as a parameter, but this seems to be removed and I couldn't find a way to do it with the current version.
(Using Client::createChromeClient() with the binary-path does not work either, it throws a "Facebook\WebDriver\Exception", also setting PANTHER_CHROME_BINARY to my path did not change anything.)
Question: Am I missing something or can I still set a custom drivers-path somehow? Or should the hardcoded path in ChromeManager use the DIRECTORY_SEPARATOR instead of a slash?
The text was updated successfully, but these errors were encountered:
On Windows I get the error message "Symfony\Component\Panther\Exception\RuntimeException: Could not start chrome. Exit code: 1 (General error). Error output: The command "." is either misspelled or could not be found."
To fix the issue on Windows I changed the hardcoded path "./drivers" in ChromeManager::findChromeDriverBinary (line 89 in version 2.2.0) to ".\drivers".
Searching for the issue I found that in some older versions of Panther it was possible to create a ChromeClient directly, telling it the drivers-path as a parameter, but this seems to be removed and I couldn't find a way to do it with the current version.
(Using Client::createChromeClient() with the binary-path does not work either, it throws a "Facebook\WebDriver\Exception", also setting PANTHER_CHROME_BINARY to my path did not change anything.)
Question: Am I missing something or can I still set a custom drivers-path somehow? Or should the hardcoded path in ChromeManager use the DIRECTORY_SEPARATOR instead of a slash?
The text was updated successfully, but these errors were encountered: