Giter VIP home page Giter VIP logo

dusk-updater's Introduction

Updater for Laravel Dusk ChromeDriver binaries

This is a fork based on staudenmeir/dusk-updater but uses Symfony Console to allow it to be use outside of Laravel installation.

Introduction

This Symfony command updates your Laravel Dusk ChromeDriver binaries to the latest or specified release.

Supports all versions of Laravel Dusk especially used outside of Laravel installation.

Installation

composer require --dev orchestra/dusk-updater

Usage

Updating ChromeDriver

Download the latest stable ChromeDriver release:

./vendor/bin/dusk-updater update

You can also specify the major Chrome/Chromium version you are using:

./vendor/bin/dusk-updater update 74

Or you directly specify the desired ChromeDriver version:

./vendor/bin/dusk-updater update 74.0.3729.6

If Dusk is still using the previous version after the update, there is probably an old ChromeDriver process running that you need to terminate first.

Checking Chrome Versions

You can check if the installed Chrome and ChromeDriver version using:

./vendor/bin/dusk-updater detect

The command will prompt you to download new ChromeDriver if it is outdated.

Specify the absolute path to your custom Chrome/Chromium installation (not supported on Windows):

./vendor/bin/dusk-updater detect --chrome-dir=/usr/bin/google-chrome

Finally, you can also tell the command to automatically downlad new version if it is outdated using:

./vendor/bin/dusk-updater detect --auto-update

dusk-updater's People

Contributors

crynobone avatar stevethomas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.