Download the PHP package sylius-labs/behat-chrome-extension without Composer

On this page you can find all versions of the php package sylius-labs/behat-chrome-extension. 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 behat-chrome-extension

BehatChromeExtension

Tests

Note: This is a fork maintained by SyliusLabs. The original package is dmore/behat-chrome-extension (on Packagist).

Behat extension for controlling chrome without the overhead of selenium.

It communicates directly with chrome over HTTP and WebSockets, which allows it to work at least twice as fast as chrome with selenium.

For chrome 59+ it supports headless mode, eliminating the need to install a display server, and the overhead that comes with it.

This driver is tested and benchmarked against a behat suite of 1800 scenarios and 19000 steps. It can successfully run it in less than 18 minutes with chrome 60 headless.

The same suite running against chrome 58 with xvfb and selenium takes ~60 minutes.

Installation:

Requirements:

Example:

or headless (59+):

The official docker image includes chrome 60 running headless.

See https://gitlab.com/DMore/behat-chrome-skeleton for a fully working example.

Usage:

Configuration

The following optional configuration settings are available

validate_certificate

Default: true

Set to false to ignore invalid ssl certificates.

socket_timeout

Default: 10

Timeout in seconds before the HTTP or WebSocket connection to the chrome browser is considered dead.

download_behavior

Default: falls back to browser configuration

Set to 'allow' to allow downloads.

dom_wait_timeout

Default: 3000

How many milliseconds we should wait for DOM to be ready after each action/transition

download_path

Default: /tmp

Set to a directory path where you would like files to be downloaded. Requires download_behavior: allow

Example:

Contributing

You are encouraged to fork this repository and contribute your own improvements.


All versions of behat-chrome-extension with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
behat/behat Version ^3.0.4 || ^4.0
dmore/chrome-mink-driver Version ^2.4.1
friends-of-behat/mink-extension Version ^2.0 || ^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 sylius-labs/behat-chrome-extension contains the following files

Loading the files please wait ...