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
I'm creating my client like this:
$client = static::createPantherClient([], [
'webdriver.server_url' => 'http://127.0.0.1:9515',
]);
and manually start the chromedriver beforehand with "chromedriver.exe --port=9515", because nothing else worked for me.
Not sure if it is a bug or bad configuration on my side.
When i create a chromeclient the process status is checked here:
Symfony\Component\Panther\ProcessManager\ChromeManager->start() which calls
Symfony\Component\Process->isRunning()
This checks against self::STATUS_STARTED which expects 'started', but my chromedriver always returns 'ready'.
So it checks the port which is not available, since the chromedriver is using it and it fails with "The port %d is already in use."
If i just disable the check, everything seems to be working fine.
The debug information for the process in the start() function looks like this for me
System: Windows 10
Symfony: 6.4
Panther: 2.1.1
I'm creating my client like this:
$client = static::createPantherClient([], [
'webdriver.server_url' => 'http://127.0.0.1:9515',
]);
and manually start the chromedriver beforehand with "chromedriver.exe --port=9515", because nothing else worked for me.
Not sure if it is a bug or bad configuration on my side.
When i create a chromeclient the process status is checked here:
Symfony\Component\Panther\ProcessManager\ChromeManager->start() which calls
Symfony\Component\Process->isRunning()
This checks against self::STATUS_STARTED which expects 'started', but my chromedriver always returns 'ready'.
So it checks the port which is not available, since the chromedriver is using it and it fails with "The port %d is already in use."
If i just disable the check, everything seems to be working fine.
The debug information for the process in the start() function looks like this for me
Symfony\Component\Process\Process {#449
-callback: null
-commandline: array:2 [
0 => "./drivers\chromedriver.EXE"
1 => "--port=9515"
]
-cwd: "D:\path\to\project"
-env: []
-input: null
-starttime: null
-lastOutputTime: null
-timeout: null
-idleTimeout: null
-exitcode: null
-fallbackStatus: []
-processInformation: ? array
-outputDisabled: false
-stdout: null
-stderr: null
-process: null
-status: "ready"
-incrementalOutputOffset: 0
-incrementalErrorOutputOffset: 0
-tty: false
-pty: false
-options: array:2 [
"suppress_errors" => true
"bypass_shell" => true
]
-processPipes: ? Symfony\Component\Process\Pipes\WindowsPipes|Symfony\Component\Process\Pipes\UnixPipes
-latestSignal: null
-cachedExitCode: null
}
The commandline path for the driver looks problematic as well.
The text was updated successfully, but these errors were encountered: