PHPackages                             macintoshplus/behat-lambdatest-extension - 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. macintoshplus/behat-lambdatest-extension

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

macintoshplus/behat-lambdatest-extension
========================================

Extends the Selenium2 Extension to use Lambdatest browser. Service provider https://lambdatest.com

v1.3.0(3y ago)14.8k↓28.3%3MITPHPPHP ^7.4 || ^8.0

Since Feb 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/macintoshplus/behat-lambdatest-extension)[ Packagist](https://packagist.org/packages/macintoshplus/behat-lambdatest-extension)[ RSS](/packages/macintoshplus-behat-lambdatest-extension/feed)WikiDiscussions main Synced 3d ago

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

Lambdatest integration for Behat with Mink Selenium2 Extension
==============================================================

[](#lambdatest-integration-for-behat-with-mink-selenium2-extension)

This Behat extension provide a Mink Selenium2 Extension integration for [Lambdatest SaaS](https://lambdatest.com).

Tested browser :

- Firefox 88+
- Chrome 90+
- Safari 13+

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

[](#installation)

Run this command to add this extension on your projet:

```
$ php composer require --dev macintoshplus/behat-lambdatest-extension
```

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

[](#configuration)

In your `behat.yml.dist` file, enable this extension

```
default:
    extensions:
      Macintoshplus\Lambdatest\LambdatestExtension: ~
```

Configure the Lambdatest Mink extension in `behat.yml.dist` file:

```
default:
  extensions:
      Behat\MinkExtension:
        lambdatest:
          # You can use the LT_USERNAME and LT_USERKEY environment variables instead of this keys:
          user: your_email@domain.tld # Your Lambdatest login
          key: xxxxx # Your Lambdatest key available here: https://accounts.lambdatest.com/detail/profile
          restart_session_between_scenario: false #If false, run all scenario in one session. If true, close and open a new session for each scenario
          # The rest of key are the same as Mink Extension
          wd_host: https://hub.lambdatest.com/wd/hub # The URL of Selenium2 Hub
          capabilities:
              name: Behat test suite # Define the name to change the Lambdatest session name or prefix if `restart_session_between_scenario` is true
              # The rest of key are the same as Mink Extension
              browser: firefox # The browser name
              marionette: true
              extra_capabilities:
                resolution: 1920x1080
                platform: windows10
                browserName: firefox
                version: latest

                # If you need select file to upload in your tests
                # Upload the files before run test. See: https://www.lambdatest.com/support/docs/upload-files-using-lambdatest/
                # Define below all files names needed in your test.
                'lambda:userFiles': [file_name_uploaded_to_lamdatest.zip, file_2.zip]

                #If you need use the Lambdatest tunnel
                tunnel: true
                tunnelName: test_tunnel
```

See this [documentation](https://www.lambdatest.com/support/docs/selenium-automation-capabilities/) to customize your capabilities configuration.

### Credential priority

[](#credential-priority)

When `LT_USERNAME` and `LT_USERKEY` environment variable are defined, they are used.

Otherwise, the values provided into `behat.yml.dist` file are used.

Define your credential
----------------------

[](#define-your-credential)

To define environment variables, on Windows, open a `cmd` window and run these commands after change the value with your personnal information:

```
set LT_USERNAME=user@domain.tld
set LT_USERKEY=xxxxxxxxxx
```

To define environment variables, on Unix, open a `terminal` window and run these commands after change the value with your personnal information:

```
export LT_USERNAME=user@domain.tld
export LT_USERKEY=xxxxxxxxxx
```

Run Behat
---------

[](#run-behat)

Run Behat command, and view the result on you Lambdatest account:

```
vendor/bin/behat --tags=@javascript
```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 55.9% 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

Every ~132 days

Recently: every ~173 days

Total

7

Last Release

1164d ago

PHP version history (2 changes)v1.1.0PHP ^7.0

v1.3.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/a15c90b32e75c27fc63f79357a914b4caa7af5fdb69a2e150341515ddececf95?d=identicon)[Macintosh\_plus](/maintainers/Macintosh_plus)

---

Top Contributors

[![jbcr](https://avatars.githubusercontent.com/u/51637606?v=4)](https://github.com/jbcr "jbcr (19 commits)")[![macintoshplus](https://avatars.githubusercontent.com/u/814683?v=4)](https://github.com/macintoshplus "macintoshplus (14 commits)")[![hk991](https://avatars.githubusercontent.com/u/24312890?v=4)](https://github.com/hk991 "hk991 (1 commits)")

---

Tags

testingbrowserjavascriptseleniumwebdriverajaxlambdatest

### Embed Badge

![Health badge](/badges/macintoshplus-behat-lambdatest-extension/health.svg)

```
[![Health](https://phpackages.com/badges/macintoshplus-behat-lambdatest-extension/health.svg)](https://phpackages.com/packages/macintoshplus-behat-lambdatest-extension)
```

###  Alternatives

[behat/mink-selenium2-driver

Selenium2 (WebDriver) driver for Mink framework

51960.3M723](/packages/behat-mink-selenium2-driver)[symfony/panther

A browser testing and web scraping library for PHP and Symfony.

3.1k16.2M142](/packages/symfony-panther)[jcalderonzumba/mink-phantomjs-driver

PhantomJS driver for Mink framework

15911.0M64](/packages/jcalderonzumba-mink-phantomjs-driver)[instaclick/php-webdriver

PHP WebDriver for Selenium 2

43663.0M23](/packages/instaclick-php-webdriver)[silverstripe/mink-facebook-web-driver

Mink driver for facebook's webdriver

11538.7k2](/packages/silverstripe-mink-facebook-web-driver)[lmc/steward

Steward - makes Selenium WebDriver + PHPUnit testing easy and robust

222167.4k1](/packages/lmc-steward)

PHPackages © 2026

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