Fatal error: Uncaught Facebook\WebDriver\Exception\Internal\WebDriverCurlException: Curl error thrown for http POST to /session with params: {"capabilities":{"firstMatch":[{"browserName":"chrome","goog:chromeOptions":{"args":["--headless","--no-sandbox","--disable-dev-shm-usage"]}}]},"desiredCapabilities":{"browserName":"chrome","platform":"ANY","goog:chromeOptions":{"args":["--headless","--no-sandbox","--disable-dev-shm-usage"]}}}
Failed to connect to 127.0.0.1 port 4444 after 0 ms: Couldn't connect to server in /var/www/www-root/data/www/anexy.ru/vendor/php-webdriver/webdriver/lib/Exception/Internal/WebDriverCurlException.php:20
Stack trace:
#0 /var/www/www-root/data/www/anexy.ru/vendor/php-webdriver/webdriver/lib/Remote/HttpCommandExecutor.php(330): Facebook\WebDriver\Exception\Internal\WebDriverCurlException::forCurlError()
#1 /var/www/www-root/data/www/anexy.ru/vendor/php-webdriver/webdriver/lib/Remote/RemoteWebDriver.php(129): Facebook\WebDriver\Remote\HttpCommandExecutor->execute()
#2 /var/www/www-root/data/www/anexy.ru/index.php(25): Facebook\WebDriver\Remote\RemoteWebDriver::create()
#3 {main}
thrown in /var/www/www-root/data/www/anexy.ru/vendor/php-webdriver/webdriver/lib/Exception/Internal/WebDriverCurlException.php on line 20