Download the PHP
package phpunit/phpunit-selenium without Composer
On this page you can find all versions of the php package
phpunit/phpunit-selenium. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?
Informations about the package phpunit-selenium
PHPUnit-Selenium
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
All versions of phpunit-selenium with dependencies
Requiresphp Version
>=7.3 ext-curl Version
* phpunit/phpunit Version
>=9.0,<10.0
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package phpunit/phpunit-selenium contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.