Skip to main content

Installation

important

To run tests in Lila, you will need to create a free account in https://app.lila.dev

Installing CLI

This step requires python>=3.11

pip install lilacli

The CLI is open source:

You can find the latest package in (pypi)[https://pypi.org/project/lilacli/]

tip

We recommend installing Lila globally to enable its CLI in all your bash sessions.

Verify installation

lila --help

Install playwright

Playwright is a requirement to run your tests cases, as the browser will run locally (see the (running section)[running-tests] for more info on this aspect).

# Support for all browsers
playwright install

# Just chromium
playwright install chromium

Verify ability to run

Fetch your default API key from the Lila app: https://app.lila.dev/api-keys and run

LILA_API_KEY=<api-key> lila check

You are all set!