-
-
Notifications
You must be signed in to change notification settings - Fork 232
Open
Description
I am using panther with chromedriver. I use it in a Symfony command to scrape a webpage.
$default_arguments = [
"--headless",
"--window-size=1280,1024",
"--disable-gpu",
"--no-sandbox",
"--disable-dev-shm-usage",
];
$arguments = array_merge($default_arguments, $arguments);
$client = PantherClient::createChromeClient(null, $arguments , $options);
At the termination of the command (or even if I force cancel the command mid way) I am getting this error:
In WebDriverCurlException.php line 20:
[Facebook\WebDriver\Exception\Internal\WebDriverCurlException]
Curl error thrown for http DELETE to /session/f2c85b0b97dcff0c666368402bab27ec
Failed to connect to 127.0.0.1 port 9515 after 0 ms: Couldn't connect to server
Any suggestion of why this happens? It would seem like the chromedriver api listening on port 9515 shutdown before that DELETE endpoint is called. But I m not sure why.
Metadata
Metadata
Assignees
Labels
No labels