PHPackages                             lionmm/laravel-ff-webdriver - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. lionmm/laravel-ff-webdriver

AbandonedArchivedLibrary[Testing &amp; Quality](/categories/testing)

lionmm/laravel-ff-webdriver
===========================

Selenium Firefox web-driver interface for Laravel 5.1.\* - 5.2.\*

1.0.4(8y ago)257MITPHPPHP &gt;=7.1

Since Nov 1Pushed 8y ago1 watchersCompare

[ Source](https://github.com/LionMM/laravel-ff-webdriver)[ Packagist](https://packagist.org/packages/lionmm/laravel-ff-webdriver)[ RSS](/packages/lionmm-laravel-ff-webdriver/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)Dependencies (4)Versions (8)Used By (0)

Webdriver adapter (for Larave or standalone usage)
==================================================

[](#webdriver-adapter-for-larave-or-standalone-usage)

[![Latest Stable Version](https://camo.githubusercontent.com/215bea4f49c79cd372c37d62be33fd5375c564b49527a686061d9c998fee8407/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c696f6e6d6d2f6c61726176656c2d66662d7765626472697665722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lionmm/laravel-ff-webdriver)[![Total Downloads](https://camo.githubusercontent.com/f0b9d2854ef9f793d1235c054e53df0d4722025eab11ecd8344a6d70bccba692/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c696f6e6d6d2f6c61726176656c2d66662d7765626472697665722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lionmm/laravel-ff-webdriver)[![License](https://camo.githubusercontent.com/ae8892e4b523831bad1ede43ef24bd8a73812141f293e001b3eebce7b9eed72e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6c696f6e6d6d2f6c61726176656c2d66662d7765626472697665722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lionmm/laravel-ff-webdriver)

![GitHub tag](https://camo.githubusercontent.com/2a7955b84f45118509e316a66d8bedca39c72ce9a54a99951378c19554ac1176/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f4c696f6e4d4d2f6c61726176656c2d66662d7765626472697665722e7376673f7374796c653d666c61742d737175617265)![GitHub release](https://camo.githubusercontent.com/dfc7962f6019eafdb31216708ee873d1b3d92885f19b38af8e7ce695a6703f3d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f4c696f6e4d4d2f6c61726176656c2d66662d7765626472697665722e7376673f7374796c653d666c61742d737175617265)![Github All Releases](https://camo.githubusercontent.com/6b976f744cab045c2416ee5097e2a1e501e8548c11544a18fab787a5a9e71ecc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f646f776e6c6f6164732f4c696f6e4d4d2f6c61726176656c2d66662d7765626472697665722f746f74616c2e7376673f7374796c653d666c61742d737175617265)

Selenium Firefox web-driver adapter (for Laravel 5.2.\* and standalone use)

This package uses the facebook's [php-webdriver](https://github.com/facebook/php-webdriver) library

Collect all mostly used methods in one class and give providers and aliases for working vs it

Now can be used standalone

Laravel supporting
------------------

[](#laravel-supporting)

- Laravel 5.3.x: `in developing`
- Laravel 5.2.x: `1.0.1`
- Laravel 5.1.x: `0.1.2`
- Laravel &lt; 5.1: `not supported`

Quick start
-----------

[](#quick-start)

### Install

[](#install)

Run `composer require lionmm/laravel-ff-webdriver`

### Laravel 5.1.x to 5.2.x

[](#laravel-51x-to-52x)

In your `config/app.php` add `LionMM\WebDriver\WebDriverServiceProvider::class,` to the end of the `providers` array

```
'providers' => array(

    ...
    LionMM\WebDriver\WebDriverServiceProvider::class,
),
```

Add the `WebDriver` facade to the end of the `aliases` array as well

```
'aliases' => array(

    ...
    'WebDriver' => LionMM\WebDriver\Facades\WebDriver::class,
),
```

Usage
-----

[](#usage)

### Selenium requirement

[](#selenium-requirement)

For using library you must install and run [Selenium server](http://www.seleniumhq.org/download/)

By default, library try to connect to `http://localhost:4444/wd/hub`

You can change that path in `config/webdriver.php` *(see above)*

### Using library

[](#using-library)

Best way - using Facade by alias `WebDriver::method()`

Also, you can make instance of `\LionMM\WebDriver\WebDriver` class

```
