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(7y ago)276.3k↓33.3%MITPHPPHP &gt;=5.4

Since Dec 16Pushed 7y 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 1mo ago

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 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

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

2915d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6451ac5fdc814bfa3aec1b3cf746fdb3ccec68ccbbe3a6f30b3b6c9266b0cb79?d=identicon)[tkotosz](/maintainers/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.

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

Driver locator tool for behat extensions

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

Extension for behat to help debug failing scenarios

601.6M5](/packages/ciaranmcnulty-behat-stepthroughextension)[polishsymfonycommunity/symfony2-mocker-extension

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

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

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

261.5M1](/packages/bex-behat-step-time-logger)[ezsystems/behat-screenshot-image-driver-cloudinary

Cloudinary image driver for bex/behat-screenshot behat extension

28992.5k16](/packages/ezsystems-behat-screenshot-image-driver-cloudinary)

PHPackages © 2026

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