PHPackages                             appstract/laravel-dusk-safari - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. appstract/laravel-dusk-safari

ActiveLibrary[Testing &amp; Quality](/categories/testing)

appstract/laravel-dusk-safari
=============================

Run Dusk tests on Safari

1.0.0(8y ago)117.2k2MITPHPPHP &gt;=5.6

Since Jul 3Pushed 3y ago4 watchersCompare

[ Source](https://github.com/appstract/laravel-dusk-safari)[ Packagist](https://packagist.org/packages/appstract/laravel-dusk-safari)[ Docs](https://github.com/appstract/laravel-dusk-safari)[ RSS](/packages/appstract-laravel-dusk-safari/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (6)Used By (0)

Run Dusk tests in Safari
========================

[](#run-dusk-tests-in-safari)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1f38e3e4d4d245b711fd15c69120dfe4994e55d7d6980f0c2ee9dd8f4b395d10/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6170707374726163742f6c61726176656c2d6475736b2d7361666172692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/appstract/laravel-dusk-safari)[![Total Downloads](https://camo.githubusercontent.com/a10bed1e46f19540709685c66957ebe50e776a7b4be3d8044651363eabae088a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6170707374726163742f6c61726176656c2d6475736b2d7361666172692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/appstract/laravel-dusk-safari)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/1c894fe69665b57b68322c20d9bc1186824b2146150e03921c9a9553abdc821b/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6170707374726163742f6c61726176656c2d6475736b2d7361666172692f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/appstract/laravel-dusk-safari)

This package allows you to use the built-in Safari WebDriver of macOS, so you don't need Selenium to run Dusk tests in Safari.

This requires Safari 10 or higher.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require appstract/laravel-dusk-safari
```

Usage
-----

[](#usage)

Make sure to enable Remote Automation in the Safari menu bar:

`Develop > Allow Remote Automation.`

Add the `SupportsSafari` trait to your DuskTestCase:

```
use  Appstract\DuskDrivers\Safari\SupportsSafari;

abstract class DuskTestCase extends BaseTestCase
{
    use CreatesApplication, SupportsSafari;
}
```

Now you can start the server in the `prepare` method:

```
public static function prepare()
{
    static::startSafariDriver();
}
```

Instruct Dusk to use Safari by changing `DesiredCapabilities::chrome()`to `DesiredCapabilities::safari()` in the Driver method:

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

Contributing
------------

[](#contributing)

Contributions are welcome, [thanks to y'all](https://github.com/appstract/laravel-blade-directives/graphs/contributors) :)

About Appstract
---------------

[](#about-appstract)

Appstract is a small team from The Netherlands. We create (open source) tools for webdevelopment and write about related subjects on [Medium](https://medium.com/appstract). You can [follow us on Twitter](https://twitter.com/teamappstract), [buy us a beer](https://www.paypal.me/teamappstract/10) or [support us on Patreon](https://www.patreon.com/appstract).

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 90% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~51 days

Total

5

Last Release

3032d ago

Major Versions

0.2.0 → 1.0.02018-01-22

PHP version history (2 changes)0.0.1PHP ^5.6

0.1.1PHP &gt;=5.6

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1470623?v=4)[Gijs Jorissen](/maintainers/gizburdt)[@gizburdt](https://github.com/gizburdt)

![](https://www.gravatar.com/avatar/71a9f89ebcd27b8fa560a655377735c8451b2e769b485f7dc9d402a570969350?d=identicon)[Rokr](/maintainers/Rokr)

![](https://www.gravatar.com/avatar/023991fc7edab6ccd9f12aa35fcf31ca4db494bae93f7da0d2310e054aecf6e3?d=identicon)[ovanschie](/maintainers/ovanschie)

![](https://www.gravatar.com/avatar/d125b357e7b9a4d06e4908c58b3859ded2f32f1529466951291c8d5bff48b9be?d=identicon)[teuunn](/maintainers/teuunn)

---

Top Contributors

[![ovanschie](https://avatars.githubusercontent.com/u/3015449?v=4)](https://github.com/ovanschie "ovanschie (9 commits)")[![gizburdt](https://avatars.githubusercontent.com/u/1470623?v=4)](https://github.com/gizburdt "gizburdt (1 commits)")

---

Tags

laravellaravel-dusklaravel-packagesafaritestinglaravelappstractsafaridusk

### Embed Badge

![Health badge](/badges/appstract-laravel-dusk-safari/health.svg)

```
[![Health](https://phpackages.com/badges/appstract-laravel-dusk-safari/health.svg)](https://phpackages.com/packages/appstract-laravel-dusk-safari)
```

###  Alternatives

[code-distortion/adapt

A Laravel package that builds databases for your tests, improving their speed.

2835.5k](/packages/code-distortion-adapt)[davestewart/sketchpad

An innovative front-end environment for interactive Laravel development

29512.9k1](/packages/davestewart-sketchpad)[srlabs/laravel-testing-utilities

Helper utilities for testing Laravel Applications

1011.9k](/packages/srlabs-laravel-testing-utilities)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
