https://github.com/duncan3dc/dusk
Use Dusk browser automation without the full Laravel framework
https://github.com/duncan3dc/dusk
dusk laravel-framework php webdriver
Last synced: about 1 year ago
JSON representation
Use Dusk browser automation without the full Laravel framework
- Host: GitHub
- URL: https://github.com/duncan3dc/dusk
- Owner: duncan3dc
- License: apache-2.0
- Created: 2017-02-26T17:37:34.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2024-10-11T13:47:32.000Z (over 1 year ago)
- Last Synced: 2025-03-28T06:05:29.929Z (about 1 year ago)
- Topics: dusk, laravel-framework, php, webdriver
- Language: PHP
- Size: 795 KB
- Stars: 83
- Watchers: 4
- Forks: 12
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# 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/](http://duncan3dc.github.io/dusk/api/namespaces/duncan3dc.Laravel.html)
[](https://packagist.org/packages/duncan3dc/dusk)
[](https://github.com/duncan3dc/dusk/actions?query=branch%3Amain+workflow%3A.github%2Fworkflows%2Fbuildcheck.yml)
[](https://codecov.io/gh/duncan3dc/dusk)
## Installation
The recommended method of installing this library is via [Composer](//getcomposer.org/).
Run the following command from your project root:
```bash
$ composer require duncan3dc/dusk
```
## Getting Started
```php
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](CHANGELOG.md) 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](//github.com/duncan3dc/dusk/issues) and I'll do my best to help out.
Alternatively you can catch me on [Twitter](https://twitter.com/duncan3dc)