jcalderonzumba/behat-phantomjs-extension

PhantomJS Mink Behat extension for Phantomjs Mink driver

v0.1.3 2016-01-10 09:53 UTC

This package is not auto-updated.

Last update: 2024-04-23 02:21:09 UTC


README

Build Status Latest Stable Version Total Downloads

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

How to use

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

Copyright (c) 2015 Juan Francisco Calderon Zumba juanfcz@gmail.com