PHPackages                             bex/behat-browser-initialiser - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. bex/behat-browser-initialiser

ActiveLibrary[Testing &amp; Quality](/categories/testing)

bex/behat-browser-initialiser
=============================

Extension for behat to help configure the browser

1.1.1(8y ago)276.5k↓77.2%MITPHPPHP &gt;=5.4

Since Dec 16Pushed 8y ago1 watchersCompare

[ Source](https://github.com/tkotosz/behat-browser-initialiser)[ Packagist](https://packagist.org/packages/bex/behat-browser-initialiser)[ Docs](https://github.com/tkotosz/behat-browser-initialiser)[ RSS](/packages/bex-behat-browser-initialiser/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (7)Versions (5)Used By (0)

Behat-BrowserInitialiserExtension
=================================

[](#behat-browserinitialiserextension)

Behat-BrowserInitialiserExtension helps configure the browser for behat scenarios.

Installation
------------

[](#installation)

Install by adding to your `composer.json`:

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

Configuration
-------------

[](#configuration)

Enable the extension in `behat.yml` like this:

```
default:
  extensions:
    Bex\Behat\BrowserInitialiserExtension: ~
```

You can configure to close the browser after each scenario:

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

You can configure to broser size like this:

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

Or maximize the browser window like this:

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

Usage
-----

[](#usage)

When you run behat the extension will configure the browser size automatically.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity61

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~297 days

Total

4

Last Release

2960d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4903365?v=4)[Tibor Kotosz](/maintainers/tkotosz)[@tkotosz](https://github.com/tkotosz)

---

Tags

BDDTDDBehat

### Embed Badge

![Health badge](/badges/bex-behat-browser-initialiser/health.svg)

```
[![Health](https://phpackages.com/badges/bex-behat-browser-initialiser/health.svg)](https://phpackages.com/packages/bex-behat-browser-initialiser)
```

###  Alternatives

[polishsymfonycommunity/symfony-mocker-container

Provides base Symfony dependency injection container enabling service mocking.

1448.2M262](/packages/polishsymfonycommunity-symfony-mocker-container)[bex/behat-extension-driver-locator

Driver locator tool for behat extensions

385.3M4](/packages/bex-behat-extension-driver-locator)[ciaranmcnulty/behat-stepthroughextension

Extension for behat to help debug failing scenarios

601.7M5](/packages/ciaranmcnulty-behat-stepthroughextension)[dvdoug/behat-code-coverage

Generate Code Coverage reports for Behat tests

623.9M53](/packages/dvdoug-behat-code-coverage)[polishsymfonycommunity/symfony2-mocker-extension

Behat extension for mocking services defined in the Symfony2 dependency injection container.

26253.7k4](/packages/polishsymfonycommunity-symfony2-mocker-extension)[bex/behat-step-time-logger

Extension for behat to help find slow scenario steps by logging the step times

271.5M1](/packages/bex-behat-step-time-logger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
