2017 © Pedro Peláez
 

mink-driver mink-phantomjs-driver

PhantomJS driver for Mink framework

image

jcalderonzumba/mink-phantomjs-driver

PhantomJS driver for Mink framework

  • Friday, August 25, 2017
  • by jcalderonzumba
  • Repository
  • 9 Watchers
  • 144 Stars
  • 2,504,367 Installations
  • PHP
  • 135 Dependents
  • 0 Suggesters
  • 10 Forks
  • 5 Open issues
  • 10 Versions
  • 12 % Grown

The README.md

Mink PhantomJS Driver

Build Status Scrutinizer Code Quality Latest Stable Version Total Downloads, (*1)

Installation & Compatibility

You need a working installation of PhantomJS, (*2)

This driver is tested using PhantomJS 1.9.8 but it should work with 1.9.X or latest 2.0.X versions, (*3)

This driver supports PHP 5.4 or greater, there is NO support for PHP 5.3, (*4)

Use Composer to install all required PHP dependencies:, (*5)

$ composer require --dev behat/mink jcalderonzumba/mink-phantomjs-driver

How to use

Driver specific configuration if using BEHAT, (*6)

default:
  extensions:
    Zumba\PhantomJSExtension:
    Behat\MinkExtension:
      base_url: http://www.google.com/
      javascript_session: 'phantomjs'
      phantomjs:
        phantom_server: "http://127.0.0.1:8510/api"
        template_cache: "/tmp/jcalderonzumba/phantomjs"

PhantomJS browser start:, (*7)

phantomjs --ssl-protocol=any --ignore-ssl-errors=true vendor/jcalderonzumba/gastonjs/src/Client/main.js 8510 1024 768 2>&1 >> /tmp/gastonjs.log &

Driver instantiation:, (*8)

$driver = new Zumba\Mink\Driver\PhantomJSDriver('http://localhost:8510');

FAQ

  1. Is this a selenium based driver?:, (*9)

    NO, it has nothing to do with Selenium it's inspired on Poltergeist, (*10)

  2. What features does this driver implements?, (*11)

    ALL of the features defined in Mink DriverInterface. maximizeWindow is the only one not implemented since is a headless browser it does not make sense to implement it., (*12)

  3. Do i need to modify my selenium based tests?, (*13)

    If you only use the standard behat driver defined methods then NO, you just have to change your default javascript driver., (*14)

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

The Versions

25/08 2017

dev-master

9999999-dev http://mink.behat.org/

PhantomJS driver for Mink framework

  Sources   Download

MIT

The Requires

 

The Development Requires

testing javascript ajax browser phantomjs headless

01/12 2016

v0.3.3

0.3.3.0 http://mink.behat.org/

PhantomJS driver for Mink framework

  Sources   Download

MIT

The Requires

 

The Development Requires

testing javascript ajax browser phantomjs headless

04/10 2016

v0.3.2

0.3.2.0 http://mink.behat.org/

PhantomJS driver for Mink framework

  Sources   Download

MIT

The Requires

 

The Development Requires

testing javascript ajax browser phantomjs headless

02/07 2015
29/06 2015

v0.2.2

0.2.2.0 http://mink.behat.org/

PhantomJS driver for Mink framework

  Sources   Download

MIT

The Requires

 

The Development Requires

testing javascript ajax browser phantomjs headless

28/06 2015

v0.2.1

0.2.1.0 http://mink.behat.org/

PhantomJS driver for Mink framework

  Sources   Download

MIT

The Requires

 

The Development Requires

testing javascript ajax browser phantomjs headless

19/06 2015

v0.2.0

0.2.0.0 http://mink.behat.org/

PhantomJS driver for Mink framework

  Sources   Download

MIT

The Requires

 

The Development Requires

testing javascript ajax browser phantomjs headless

18/06 2015

v0.1.1

0.1.1.0 http://mink.behat.org/

PhantomJS driver for Mink framework

  Sources   Download

MIT

The Requires

 

The Development Requires

testing javascript ajax browser phantomjs headless

15/06 2015

v0.1.0

0.1.0.0 http://mink.behat.org/

PhantomJS driver for Mink framework

  Sources   Download

MIT

The Requires

 

The Development Requires

testing javascript ajax browser phantomjs headless