Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 14 minutes 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 (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-10-11T13:47:32.000Z (about 1 month ago)
- Last Synced: 2024-10-30T07:46:28.231Z (14 days ago)
- Topics: dusk, laravel-framework, php, webdriver
- Language: PHP
- Size: 795 KB
- Stars: 80
- Watchers: 5
- 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 frameworkFull 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)[![release](https://poser.pugx.org/duncan3dc/dusk/version.svg)](https://packagist.org/packages/duncan3dc/dusk)
[![build](https://github.com/duncan3dc/dusk/workflows/.github/workflows/buildcheck.yml/badge.svg?branch=main)](https://github.com/duncan3dc/dusk/actions?query=branch%3Amain+workflow%3A.github%2Fworkflows%2Fbuildcheck.yml)
[![coverage](https://codecov.io/gh/duncan3dc/dusk/graph/badge.svg)](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)