2017 © Pedro Peláez
 

library behat-browser-initialiser

Extension for behat to help configure the browser

image

bex/behat-browser-initialiser

Extension for behat to help configure the browser

  • Friday, May 25, 2018
  • by tkotosz
  • Repository
  • 1 Watchers
  • 0 Stars
  • 20,144 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 12 % Grown

The README.md

Behat-BrowserInitialiserExtension

Behat-BrowserInitialiserExtension helps configure the browser for behat scenarios., (*1)

Installation

Install by adding to your composer.json:, (*2)

composer require --dev bex/behat-browser-initialiser

Configuration

Enable the extension in behat.yml like this:, (*3)

default:
  extensions:
    Bex\Behat\BrowserInitialiserExtension: ~

You can configure to close the browser after each scenario:, (*4)

default:
  extensions:
    Bex\Behat\BrowserInitialiserExtension:
      close_browser_after_scenario: true

You can configure to broser size like this:, (*5)

default:
  extensions:
    Bex\Behat\BrowserInitialiserExtension:
      browser_window_size: 1024x768

Or maximize the browser window like this:, (*6)

default:
  extensions:
    Bex\Behat\BrowserInitialiserExtension:
      browser_window_size: max

Usage

When you run behat the extension will configure the browser size automatically., (*7)

The Versions

25/05 2018

dev-feature/omit-unsupported-driver-action-error-messages

dev-feature/omit-unsupported-driver-action-error-messages https://github.com/tkotosz/behat-browser-initialiser

Extension for behat to help configure the browser

  Sources   Download

MIT

The Requires

 

The Development Requires

bdd tdd behat

13/06 2016

dev-features/fix-exception-when-feature-not-supported

dev-features/fix-exception-when-feature-not-supported https://github.com/tkotosz/behat-browser-initialiser

Extension for behat to help configure the browser

  Sources   Download

MIT

The Requires

 

The Development Requires

bdd tdd behat

27/05 2016

dev-features/fix-selenium-issue

dev-features/fix-selenium-issue https://github.com/tkotosz/behat-browser-initialiser

Extension for behat to help configure the browser

  Sources   Download

MIT

The Requires

 

The Development Requires

bdd tdd behat