PHPackages                             mouncef/behat-selenium-bundle - 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. mouncef/behat-selenium-bundle

ActiveSymfony-bundle

mouncef/behat-selenium-bundle
=============================

Tests fonctionnels Behat + Selenium pour Symfony : steps en français, screenshots, rapport HTML, export et mail.

v1.0.0(1mo ago)00MITPHPPHP &gt;=8.2CI passing

Since Jul 13Pushed 1mo agoCompare

[ Source](https://github.com/Mouncef/behat-selenium-bundle)[ Packagist](https://packagist.org/packages/mouncef/behat-selenium-bundle)[ RSS](/packages/mouncef-behat-selenium-bundle/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (17)Versions (2)Used By (0)

behat-selenium-bundle
=====================

[](#behat-selenium-bundle)

Tests fonctionnels **Behat + Selenium** pour Symfony : step definitions en **français**, captures d'écran automatiques, rapport HTML, export ZIP et notification mail.

Réécriture moderne de `froggdev/behat-installer` (PHP ≥ 8.2, Symfony 6.4/7.x, Behat 3.14).

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

[](#installation)

```
composer require --dev mouncef/behat-selenium-bundle
```

Enregistrer le bundle dans `config/bundles.php` :

```
Mouncef\BehatSeleniumBundle\BehatSeleniumBundle::class => ['test' => true],
```

Installer la configuration :

```
APP_ENV=test php bin/console behat:install
```

Démarrer Selenium puis lancer les tests :

```
docker compose -f docker/selenium/compose.yaml up -d
cp behat.yml.dist behat.yml
vendor/bin/behat
```

Le rapport HTML est généré dans `public/output/behat/index.html`. Pour observer le navigateur pendant les tests :  (noVNC).

Steps disponibles
-----------------

[](#steps-disponibles)

Toutes les phrases sont en français et identiques au legacy — exemples :

```
When Je vais sur la page "https://example.com/"
Then Je devrai voir le texte "Example Domain"
Given Je rempli le champ "#login" avec la valeur "{user}"
Given Je defini que "user" vaut "jean.dupont"
Given Je prends une capture d'écran "apres-connexion"
```

La liste complète est visible via `vendor/bin/behat -dl` (ou `-di` pour le détail).

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

[](#configuration)

`config/packages/test/behat_selenium.yaml` :

```
behat_selenium:
    screenshots:
        enabled: true
        path: 'public/output/behat'
    report:
        path: 'public/output/behat'
        export:
            enabled: false                                  # copie + zip du rapport
            path: '%kernel.project_dir%/var/behat/exports'
        mail:
            enabled: false                                  # envoi via MAILER_DSN
            from: 'behat@example.fr'
            to: ['equipe@example.fr']
    mailbox:
        wait_timeout: 30   # plafond (en secondes) des attentes des steps boîtes mail (Yopmail/Mailinator/Tempr)
```

Variables de scénario
---------------------

[](#variables-de-scénario)

```
Given Je defini que "email" vaut "test@yopmail.com"
When Je rempli le champ "#email" avec la valeur "{email}"
```

Les variables sont persistées entre les scénarios (`var/behat/uservars.json`).

Licence
-------

[](#licence)

MIT

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance90

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Unknown

Total

1

Last Release

48d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18706848?v=4)[Mouncef ZAGHRAT](/maintainers/Mouncef)[@Mouncef](https://github.com/Mouncef)

---

Top Contributors

[![mouncefzaghrat](https://avatars.githubusercontent.com/u/160744199?v=4)](https://github.com/mouncefzaghrat "mouncefzaghrat (20 commits)")

---

Tags

symfonyBDDMinkseleniumBehat

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mouncef-behat-selenium-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/mouncef-behat-selenium-bundle/health.svg)](https://phpackages.com/packages/mouncef-behat-selenium-bundle)
```

###  Alternatives

[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

605.9M709](/packages/shopware-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.4k1.4M241](/packages/sulu-sulu)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k4.0M551](/packages/pimcore-pimcore)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21668.5M2.0k](/packages/drupal-core)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k18.7M440](/packages/easycorp-easyadmin-bundle)

PHPackages © 2026

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