{"id":26458661,"url":"https://github.com/lila-team/lila","last_synced_at":"2025-08-02T02:43:00.342Z","repository":{"id":281357141,"uuid":"917427834","full_name":"lila-team/lila","owner":"lila-team","description":"Official CLI for Lila: the testing framework for startups","archived":false,"fork":false,"pushed_at":"2025-05-08T19:33:06.000Z","size":202,"stargazers_count":15,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-08T19:44:09.944Z","etag":null,"topics":["ai-agents","llm","qa","qa-automation","startups","testing"],"latest_commit_sha":null,"homepage":"https://lila.dev","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lila-team.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-01-16T00:50:37.000Z","updated_at":"2025-04-25T14:26:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"278ed4e0-c17a-4e04-8928-e493b5c65690","html_url":"https://github.com/lila-team/lila","commit_stats":null,"previous_names":["lila-team/lila"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lila-team/lila","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lila-team%2Flila","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lila-team%2Flila/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lila-team%2Flila/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lila-team%2Flila/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lila-team","download_url":"https://codeload.github.com/lila-team/lila/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lila-team%2Flila/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268329503,"owners_count":24233056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-agents","llm","qa","qa-automation","startups","testing"],"created_at":"2025-03-19T00:26:23.234Z","updated_at":"2025-08-02T02:43:00.325Z","avatar_url":"https://github.com/lila-team.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[\u003cimg src=\"assets/logo.png\" width=300\u003e](https://lila.dev/)\n\n\u003ch1\u003eThe best testing framework for startups 🚀\u003c/h1\u003e\n\n[![PyPI - Version](https://img.shields.io/pypi/v/lilacli?color=blue)](https://pypi.org/project/lilacli/)\n[![Documentation](https://img.shields.io/badge/Documentation-📕-blue)](https://docs.lila.dev)\n[![CI](https://github.com/lila-team/lila/actions/workflows/daily-run.yml/badge.svg)](https://github.com/lila-team/lila/actions/workflows/daily-run.yml)\n[![Twitter](https://img.shields.io/twitter/follow/lila__dev?style=social)](https://twitter.com/lila__dev)\n[![Discord](https://img.shields.io/discord/1303067047931936809?label=Discord)](https://discord.gg/kZ7TEmxH)\n![GitHub Repo stars](https://img.shields.io/github/stars/lila-team/lila)\n\nLila CLI is a powerful tool for running end-to-end tests written in human-readable plain text using YAML files. It simplifies the testing process by allowing anyone in the team to write tests in a natural, easy-to-understand format.\n\n**No coding required.**\n\n## Quick start\n\nWith pip (Python\u003e=3.11)\n\n```\npip install lilacli\n```\n\nInstall Playwright Chromium web drivers\n\n```\nplaywright install chromium\n```\n\nCreate your first testcase in a `demo.yaml` file\n\n```yaml\nsteps:\n  - goto: https://www.google.com/maps\n\n  - input: Empire State on the main search bar\n    verify: a dropdown with suggestions appears\n\n  - click: on the first suggestion from the dropdown\n    verify: the map shows the Empire State Building in NY\n```\n\nFetch an API Key from [Lila app](https://app.lila.dev) and add it to an `.env` file:\n\n```\nLILA_API_KEY=...\n```\n\nRun\n\n```\nlila run demo.yaml\n```\n\n## How does it work?\n\nLila runs your app in a **local browser** with [Playwright](https://playwright.dev/python/) and uses an LLM-powered engine to guide the CLI run high level instructions. Lila extracts information from the DOM using the awesome library [browser-use](https://github.com/browser-use/browser-use)\n\n### Why Lila?\n\n* No coding required.\n* Self healing tests, does not rely on low level implementation.\n* Anyone in the team can implement tests.\n* Integrates natively with Playwright storage states.\n* Runs browser locally, making it ideal for localdev or staging environments.\n\n### Writing tests\n\nTests are just YAML files. Here is the same example as the quick start.\n\n```yaml\nsteps:\n  - goto: https://www.google.com/maps\n\n  - input: Empire State on the main search bar\n    verify: a dropdown with suggestions appears\n\n  - click: on the first suggestion from the dropdown\n    verify: the map shows the Empire State Building in NY\n```\n\n### Step types\n\n**goto**: navigate to a URL\n\n```yaml\n- goto: https://private.staging.my-app.com\n```\n\n**click**: perform a click on a described element\n\n```yaml\n- click: on the checkout cart\n# or\n- click: on the direction item\n# or\n- click: on button 'Create'\n```\n\n**input**: type text into an input field\n\n```yaml\n- input: foo@bar.com as email\n# or\n- input: iPad mini in the main search bar\n```\n\n**submit**: submits a form by clicking a button or pressing enter\n\n```yaml\n- submit: the login form\n# or\n- submit: the search\n```\n\n**wait**: just waits N seconds\n\n```yaml\n- wait: 10  # waits 10 seconds\n```\n\n**pick**: pick an element from a dropdown\n\n```yaml\n- pick: EST from the timezone dropdown\n```\n\n**exec**: run a bash command\n\n```yaml\n- exec: |  # multiline\n    curl -X POST ...\n\n# or\n- exec: psql -c \"INSERT ...\" # single line\n```\n\n### Verifications\n\nEach step can have one or more `verify` assertions.\n\n```yaml\n- goto: https://my-app.com/login\n  verify: there is a login form with username and password  # Single verification\n\n- click: the checkout cart\n  verify:  # multi verifications\n    - 5 items appear in the purchase summary\n    - the total is 500 USD\n```\n\n### More on building tests\n\nFor more information on how to build tests, [checkout the guides](https://docs.lila.dev/guides/intro)\n\n### More examples\n\nFor test examples, Lila runs daily a suite of tests over public URLs. Check them out [here](https://github.com/lila-team/examples)\n\n## Creating an account\n\nLila is free for beta users. Create your free account at [https://lila.dev](https://lila.dev).\nYou will need the account to fetch an API key to run lila CLI.\n\n\n## Reusing state\n\nLila runs save the browser state in the output folder. To re-use where another test left off, just pass `--browser-state` parameter.\n\nFor example:\n\n**login.yaml**:\n\n```yaml\nsteps:\n  - goto: https://my-app.com/login\n  - input: foobar as username\n  - input: barbaz as password\n  - submit: the login form\n    verify: login was successful\n```\n\n`lila run login.yaml` -\u003e This will generate `lila-output/login.json`\n\n**dashboard.yaml** (needs a logged in user)\n\n```yaml\nsteps:\n  - goto: https://my-app.com/dashboard\n    verify: there is a panel displaying metrics\n```\n\n`lila run dashboard.yaml --browser-state lila-output/login.json`\n\n## CLI Parameters\n\n* `--browser-state`: Initialize the browser with a Playwright JSON storage session\n* `--tags`: Filter tests by specified comma-separated tags\n* `--exclude-tags`: Filter out tests by specified comma-separated tags\n* `--output-dir`: Specify the output directory for the browser states\n* `--config`: Point to the `lila.toml` config file if not using the root location\n* `--headless`: If present, does not open browser\n* `--debug`: Displays debug logs\n\n## CI/CD ready\n\nCheckout [an example for a daily run using GHA](.github/workflows/daily-run.yaml)\n\n## Documentation\n\nFor comprehensive documentation, visit [docs.lila.dev](https://docs.lila.dev).\n\n## Examples\n\nFind a variety of test examples in our [examples repository](https://github.com/lila-team/examples), showcasing different testing scenarios and best practices.\n\n## Contact\n\nReach out at info@lila.dev\n\nJoin our [Discord server](https://discord.gg/6rRfZUqh)\n\nFollow us at [Twitter - X](https://x.com/lila__dev)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flila-team%2Flila","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flila-team%2Flila","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flila-team%2Flila/lists"}