An integration layer between Behat 3.0+ and MinkPhantomJSDriver.
Use Composer to install all required PHP dependencies:
$ composer require --dev behat/mink jcalderonzumba/mink-phantomjs-driver jcalderonzumba/behat-phantomjs-extension
PhantomJSExtension configuration (for the moment NONE).
default:
extensions:
Zumba\PhantomJSExtension:
PhantomJSDriver specific configuration:
Behat\MinkExtension:
phantomjs:
phantom_server: "http://localhost:8510/api"
template_cache: "/tmp/pjsdrivercache/phantomjs"
PhantomJS browser start:
phantomjs --ssl-protocol=any --ignore-ssl-errors=true vendor/jcalderonzumba/gastonjs/src/Client/main.js 8510 1024 768 2>&1 >> /tmp/gastonjs.log &
Copyright (c) 2015 Juan Francisco Calderon Zumba juanfcz@gmail.com