Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Phpunit Selenium Laravel Package

phpunit/phpunit-selenium

PHPUnit-Selenium provides a Selenium2TestCase for running end-to-end browser tests with Selenium 2 in PHPUnit. Install via Composer and use version lines aligned to PHPUnit/PHP (e.g., 9.x for PHPUnit 9 on PHP 7.3+).

View on GitHub
Deep Wiki
Context7

PHPUnit-Selenium Build Status

This package contains a Selenium2TestCase class that can be used to run end-to-end tests against Selenium 2.

Installing

Use Composer and run composer require --dev phpunit/phpunit-selenium.

Requirements

  • Version 9.x supports PHPUnit 9.x and is compatible with PHP 7.3+
  • Version 8.x supports PHPUnit 8.x and is compatible with PHP 7.2+
  • Version 7.x supports PHPUnit 7.x and is compatible with PHP 7.1+

Older unsupported lines which will probably see no new releases:

  • 4.x mainline supports (only) PHPUnit 6.x. This version is only compatible with PHP 7
  • 3.x: supports PHPUnit 5.x. Only compatible with PHP 5.6 and PHP 7.
  • 2.x: supports PHPUnit >= 4.8 instead.

Both these supported lines only work with the Selenium 2 API, using the Selenium2TestCase class.

The old line 1.x is not maintained anymore, but will continue to be available for usage of SeleniumTestCase.

Please direct pull requests to giorgiosironi/phpunit-selenium for automated testing upon merging. Pull requests should be feature branches containing all the commits you want to propose.

Running the test suite

Via Vagrant

Just run the following Vagrant commands (a minimal version of v1.7 is required) and everything will be set up for you. The first start will take some time which depends on the speed of your connection (and less - speed of your computer):

vagrant up
vagrant provision
vagrant ssh

cd /vagrant
vendor/bin/phpunit Tests
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor