PHPackages                             masga/laravel-chromedriver - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. masga/laravel-chromedriver

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

masga/laravel-chromedriver
==========================

Control Chrome or Chromium easily.

1.0.0(4y ago)31521MITPHPPHP ^7.4|^8.0

Since Sep 9Pushed 4y ago1 watchersCompare

[ Source](https://github.com/mxsgx/laravel-chromedriver)[ Packagist](https://packagist.org/packages/masga/laravel-chromedriver)[ RSS](/packages/masga-laravel-chromedriver/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

Laravel Chromedriver
====================

[](#laravel-chromedriver)

Control Chrome or Chromium easily.

Requirements
------------

[](#requirements)

- PHP 7.4 or latest
- Laravel 8.x
- Chrome or Chromium latest version

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

[](#installation)

You can install the package via composer:

```
composer require masga/laravel-chromedriver
```

Usage
-----

[](#usage)

```
use Facebook\WebDriver\WebDriverBy;
use Masga\ChromeDriver\Facades\Browser;

Route::get('/browser', function () {
    Browser::start();

    // Get driver
    $driver = Browser::getDriver();

    // Go to URL
    $driver->get('https://en.wikipedia.org/wiki/Selenium_(software)');

    // Find search element by its id, write 'PHP' inside and submit
    $driver->findElement(WebDriverBy::id('searchInput')) // find search input element
        ->sendKeys('PHP') // fill the search box
        ->submit(); // submit the whole form

    // Find element of 'History' item in menu by its css selector
    $historyButton = $driver->findElement(
        WebDriverBy::cssSelector('#ca-history a')
    );

    $btnText = $historyButton->getText();

    // Terminate browser quickly. (optional)
    // Browser::quit();

    return 'About to click to a button with text: ' . $btnText;
});
```

> Browser will quit automatically after the response is sent but you can quit quickly using `Browser::quit()`

Configuration
-------------

[](#configuration)

You can publish the config file using this command:

```
php artisan vendor:publish --tag=chromedriver-config
```

License
-------

[](#license)

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

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1707d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/38820716?v=4)[masga](/maintainers/masga)[@masga](https://github.com/masga)

---

Top Contributors

[![mxsgx](https://avatars.githubusercontent.com/u/45129872?v=4)](https://github.com/mxsgx "mxsgx (2 commits)")

---

Tags

chromedriverlaravelwebdriverlaravelwebdriverChromedriver

### Embed Badge

![Health badge](/badges/masga-laravel-chromedriver/health.svg)

```
[![Health](https://phpackages.com/badges/masga-laravel-chromedriver/health.svg)](https://phpackages.com/packages/masga-laravel-chromedriver)
```

###  Alternatives

[spatie/laravel-enum

Laravel Enum support

3655.4M31](/packages/spatie-laravel-enum)[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[dragon-code/pretty-routes

Pretty Routes for Laravel

10058.7k4](/packages/dragon-code-pretty-routes)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40129.3k2](/packages/erlandmuchasaj-laravel-gzip)

PHPackages © 2026

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