Downloads and installs the necessary Playwright driver and browser binaries for LiveLoad.
Playwright's installations are per platform and architecture, so for LiveLoad to properly run on a production environment,
the mix live_load.install command should run on the final environment in order to download the correct binaries (for example,
during your build process). The installation files will be installed into the priv directory for the live_load application
and will be packaged during the build to be available in the running application.
This must be run with the version of Playwright that is going to be used. The default version is 1.62.0.
Options
--no-bundle- does not bundle and compress the Playwright driver and browser. Leaving the driver and browser compressed means that when running a load test, the startup time pays a cost for unpacking the archive. Depending on the size of the load test, this may take a while, as each node needs to unpack and then set up the browser. Using this flag will leave the Playwright driver and browser unbundled, which may result in a higher release bundle as a tradeoff.
Examples
$ mix live_load.install
$ mix live_load.install --no-bundle
$ mix live_load.install 1.62.0
$ mix live_load.install 1.62.0 --no-bundle