Download the PHP package fonsecas72/selenium-handler without Composer

On this page you can find all versions of the php package fonsecas72/selenium-handler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

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 selenium-handler

Selenium Handler

Download, Start & Stop Selenium Server with PHP >= 5.4 as a kind of a client or by command line.

Build Status Scrutinizer Code Quality Dependency Status

Latest Stable Version Total Downloads Daily Downloads Latest Unstable Version License

This package was written to avoid downloading selenium by hand and to avoid those complex commands to make selenium to start. It also allows you to use it with-in your own package.

Installation

With Composer:

Usage

In your application

You can create a downloader, a starter, a stopper and a watcher. E.g. to create a starter:

Then you can call:

And it will just work.

Of course, you can also change de default settings. This is done by calling options classes that each one if this has. E.g. to change a setting for the starter:

You can also create a "handler" that will allow you to start, stop, download, etc. through one single class.

see the tests and the built-in commands for more examples, or open an issue

Built-in commands

get selenium

(it will download to current directory by default)

You can set the destination directory with

You can set the selenium version with

start selenium

You can give the selenium location with

Optionally, you may choose whether or not you want to use xvfb

You can throw selenium options too. For example: You can set the firefox profile to use:

You can also set how much you are willing to wait for selenium to start (in seconds)

stop selenium

Tips & Tricks

You can also tail the selenium log after start with follow option:

You can even track a specific log level

This can be specially useful if you start selenium in the background before running tests.

Then if some error happens you will see it in your test log / output.


All versions of selenium-handler with dependencies

PHP Build Version
Package Version
Requires symfony/console Version ~2.5|~3.0
guzzlehttp/guzzle Version ^5.0|^6.0
symfony/dependency-injection Version ^2.7|^3.0
symfony/process Version ^2.7|^3.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 fonsecas72/selenium-handler contains the following files

Loading the files please wait ....