Documentation / Installation
You can run Browsertime using our Docker container or using NodeJS.
We have Docker images with Browsertime, Chrome, Firefox and Xvfb. It is super easy to use (Xvfb is started automatically when you start the container). Here’s how to use the container with both Firefox 54 & Chrome (install Docker first).
docker run --shm-size=1g --rm -v "$(pwd)":/browsertime sitespeedio/browsertime --video --speedIndex https://www.sitespeed.io/
C:\Users\Vicky> docker pull sitespeedio/browsertime
C:\Users\Vicky> docker run --rm -v "$(pwd)":/browsertime sitespeedio/browsertime https://www.sitespeed.io -b firefox
That will output the data from the run in the current directory.
Prerequisites: Install latest NodeJS LTS (Linux) and make sure you have npm or yarn installed. Install Chrome/Firefox.
If you prefer npm, just run:
npm install browsertime -g
Or with yarn:
yarn global add browsertime
We support Windows using Docker. To be able to support running on Windows with NodeJS we need at least one core contributor that can focus on Windows. Are you that one? Please get in touch!