Trying to use Codeception Web Driver and Selenium to emulate ajax through an acceptance test. I used PhpBrowser, but when I had problems with Ajax, my friend suggested WebDriver.
After turning on and loading selenium (and starting it) I get the following error.
[WebDriverCurlException] Curl error thrown for http POST to http://127.0.0.1:4444/wd/hub/session with params: {"desiredCapabilities":{"browserName":"googlechrome"}} Failed to connect to 127.0.0.1 port 4444: Connection Refused
I made sure that I was running selenium on port 4444.
java -jar selenium-server.jar -port 4444
accept.suite.yml below
class_name: AcceptanceTester modules: enabled: - WebDriver - REST config: WebDriver: url: 'http://life1605.dev' browser: googlechrome REST: url: 'http://life1605.dev'
curl selenium testing selenium-webdriver webdriver
Dylan buth
source share