duncan3dc / dusk by duncan3dc

Use Laravel Dusk without the full Laravel framework
8,069
79
5
Package Data
Maintainer Username: duncan3dc
Maintainer Contact: git@duncanc.co.uk (Craig Duncan)
Package Create Date: 2017-02-26
Package Last Update: 2022-05-13
Language: PHP
License: Apache-2.0
Last Refreshed: 2024-04-18 15:01:59
Package Statistics
Total Downloads: 8,069
Monthly Downloads: 45
Daily Downloads: 0
Total Stars: 79
Total Watchers: 5
Total Forks: 12
Total Open Issues: 1

dusk

Use Dusk browser automation as a standalone component without the full Laravel framework

Full documentation is available at http://duncan3dc.github.io/dusk/
PHPDoc API documentation is also available at http://duncan3dc.github.io/dusk/api/

release build coverage

Installation

The recommended method of installing this library is via Composer.

Run the following command from your project root:

$ composer require duncan3dc/dusk

Getting Started

use duncan3dc\Laravel\Dusk;

require __DIR__ . "/vendor/autoload.php";

$dusk = new Dusk;

$dusk->visit("http://example.com");
echo $dusk->element("h1")->getText() . "\n";

Read more at http://duncan3dc.github.io/dusk/

Changelog

A Changelog has been available since the beginning of time

Where to get help

Found a bug? Got a question? Just not sure how something works?
Please create an issue and I'll do my best to help out.
Alternatively you can catch me on Twitter