2017 © Pedro Peláez
 

behat-extension client-ip-extension

A Behat Extension accessing the client ip address

image

postcon/client-ip-extension

A Behat Extension accessing the client ip address

  • Tuesday, February 2, 2016
  • by DrSchimke
  • Repository
  • 5 Watchers
  • 1 Stars
  • 5,279 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 10 % Grown

The README.md

ClientIpExtension

This behat extension allows a Context object to access the client's IP address. The IP is aquired by requesting a Url (e.g. https://api.ipify.org/)., (*1)

# behat.yml
default:
  extensions:
    Postcon\ClientIpExtension\Extension:
      url: https://api.ipify.org/

Alternatively, the IP address can be fixed configured:, (*2)

# behat.yml
default:
  extensions:
    Postcon\ClientIpExtension\Extension:
      value: 1.2.3.4

To access the client's IP address, the behat Context class needs to implement Postcon\ClientIpExtension\ClientIpInterface., (*3)

The Versions

02/02 2016

dev-master

9999999-dev

A Behat Extension accessing the client ip address

  Sources   Download

MIT

The Requires

 

The Development Requires

by Team DevStreet

bdd behat

01/02 2016

1.0.1

1.0.1.0 https://github.com/Postcon/BehatBootstrapExtension

A Behat Extension accessing the client ip address

  Sources   Download

MIT

The Requires

 

The Development Requires

by Team DevStreet

bdd behat

01/02 2016

1.0.0

1.0.0.0 https://github.com/Postcon/BehatBootstrapExtension

A Behat Extension accessing the client ip address

  Sources   Download

MIT

The Requires

 

The Development Requires

by Team DevStreet

bdd behat