2017 © Pedro Peláez
 

library laravel-dusk-opera

Run Dusk tests in Opera

image

appstract/laravel-dusk-opera

Run Dusk tests in Opera

  • Monday, January 22, 2018
  • by gizburdt
  • Repository
  • 4 Watchers
  • 7 Stars
  • 56 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Run Dusk tests in Opera

Latest Version on Packagist Total Downloads Software License Build Status, (*1)

This package allows you to use Opera Webdriver in Dusk, so you don't need Selenium to run Dusk tests in Opera., (*2)

This requires a recent version of Opera., (*3)

Installation

You can install the package via composer:, (*4)

``` bash composer require appstract/laravel-dusk-opera, (*5)


## Usage Add the ``SupportsOpera`` trait to your DuskTestCase: ```php use Appstract\DuskDrivers\Opera\SupportsOpera; abstract class DuskTestCase extends BaseTestCase { use CreatesApplication, SupportsOpera; }

Now you can start the server in the prepare method:, (*6)

public static function prepare()
{
    static::startOperaDriver();
}

Instruct Dusk to use Opera by changing DesiredCapabilities::chrome() to DesiredCapabilities::opera() in the Driver method:, (*7)

protected function driver()
{
    return RemoteWebDriver::create(
        'http://localhost:9515', DesiredCapabilities::opera()
    );
}

Contributing

Contributions are welcome, thanks to y'all :), (*8)

About Appstract

Appstract is a small team from The Netherlands. We create (open source) tools for webdevelopment and write about related subjects on Medium. You can follow us on Twitter, buy us a beer or support us on Patreon., (*9)

License

The MIT License (MIT). Please see License File for more information., (*10)

The Versions

22/01 2018

dev-master

9999999-dev https://github.com/appstract/laravel-dusk-opera

Run Dusk tests in Opera

  Sources   Download

MIT

The Requires

  • php >=5.6

 

laravel testing appstract dusk opera

22/01 2018

1.0.0

1.0.0.0 https://github.com/appstract/laravel-dusk-opera

Run Dusk tests in Opera

  Sources   Download

MIT

The Requires

  • php >=5.6

 

laravel testing appstract dusk opera

04/07 2017

0.1.0

0.1.0.0 https://github.com/appstract/laravel-dusk-opera

Run Dusk tests in Opera

  Sources   Download

MIT

The Requires

  • php >=5.6

 

laravel testing appstract dusk opera