Behat / MinkExtension

Mink extension (tight integration and configuration) for Behat
MIT License
636 stars 279 forks source link

Could not open connection Error #356

Closed janvonmulert closed 4 years ago

janvonmulert commented 4 years ago

Getting this error when running Behat tests with @javascript

Could not open connection: Warning: Use of undefined constant CURLOPT_FOLLOWLOCATION - assumed 'CURLOPT_FOLLOWLOCATION' (this will throw an Error in a future version of PHP) in vendor/instaclick/php-webdriver/lib/WebDriver/WebDriver.php line 70 (Behat\Mink\Exception\DriverException)

Using Behat/Mink v1.7.1 Ubuntu 16.04 PHP 7.3.12 Selenium Server 3.141.5 running: 16:12:09.627 INFO [GridLauncherV3.parse] - Selenium server version: 3.141.5, revision: d54ebd709a 16:12:09.967 INFO [GridLauncherV3.lambda$buildLaunchers$3] - Launching a standalone Selenium Server on port 4444 2019-12-06 16:12:10.128:INFO::main: Logging initialized @2117ms to org.seleniumhq.jetty9.util.log.StdErrLog 16:12:10.967 INFO [WebDriverServlet.<init>] - Initialising WebDriverServlet 16:12:11.479 INFO [SeleniumServer.boot] - Selenium Server is up and running on port 4444

Please let me know if there is more info I should be providing.

janvonmulert commented 4 years ago

Apparently the PHP Curl extension needs to be installed, Ill try that and then close this ticket if it works.