Use Laravel Dusk without the full Laravel framework

1.1.1 2022-04-14 12:16 UTC


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

Full documentation is available at
PHPDoc API documentation is also available at

release build coverage


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;

echo $dusk->element("h1")->getText() . "\n";



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