Download the PHP package turgutsaricam/webdriver-tools without Composer

On this page you can find all versions of the php package turgutsaricam/webdriver-tools. 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 webdriver-tools

webdriver-tools

This repository contains general-purpose classes that are commonly needed when working with facebook/webdriver, when running Selenium tests for PHP.

WebDriver Package

This package requires facebook/webdriver. Basically, this should be used for Selenium tests. This package provides an AbstractDriverManager that handles loading different URLs in different tabs, switching to a tab if a URL is already loaded in a tab, adding a parameter for each URL to hint code coverage (the same hint explained in CoverageHandler), modifying window.ajaxurl JavaScript variable (which is the default variable for WordPress sites) to enable code coverage for AJAX requests, closing excessive browser tabs, setting up the driver and logging into the site-under-test, and other things like refreshing, closing, opening tabs.

To use this package, create a class that extends AbstractDriverManager, implement the required methods (or use DefaultDriverManager). AbstractDriverManager requires an AbstractSetupStrategy that will setup the driver and login to the site. To provide a strategy, simply create a class and extend it to AbstractSetupStrategy, and implement the required methods. The package comes with WordPressSetupStrategy. If you are testing a WordPress site, you can directly use it.

In your tests, instead of using the webdriver directly, perform every driver action through an AbstractDriverManager. Otherwise, there is no point using a driver manager.

Development

To test this project, include it in another project using a local repository by defining the following in that other project's composer.json:

After this, delete vendor/turgutsaricam/webdriver-tools directory from that other project's vendor directory, optionally set the version of turgutsaricam/webdriver-tools under require(-dev) item of composer.json to @dev, and then run composer update turgutsaricam/webdriver-tools. This will copy the files in the local development repository to that other project's vendor directory. By this way, the changes can be tested prior to committing the changes to git.

TODO


All versions of webdriver-tools with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
php-webdriver/webdriver Version *
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 turgutsaricam/webdriver-tools contains the following files

Loading the files please wait ....