{"id":31333378,"url":"https://github.com/testdriverai/quickstart-v6","last_synced_at":"2026-02-20T19:33:16.034Z","repository":{"id":309653283,"uuid":"1037063165","full_name":"testdriverai/quickstart-v6","owner":"testdriverai","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-12T14:17:25.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-29T21:26:11.998Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","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/testdriverai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-13T02:32:21.000Z","updated_at":"2025-11-12T14:17:28.000Z","dependencies_parsed_at":"2025-08-13T05:19:13.650Z","dependency_job_id":"6924afa4-17c1-40fc-b544-50f2e0922d2c","html_url":"https://github.com/testdriverai/quickstart-v6","commit_stats":null,"previous_names":["testdriverai/quickstart-v6"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/testdriverai/quickstart-v6","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testdriverai%2Fquickstart-v6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testdriverai%2Fquickstart-v6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testdriverai%2Fquickstart-v6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testdriverai%2Fquickstart-v6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/testdriverai","download_url":"https://codeload.github.com/testdriverai/quickstart-v6/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testdriverai%2Fquickstart-v6/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29661609,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T16:33:43.953Z","status":"ssl_error","status_checked_at":"2026-02-20T16:33:43.598Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-09-26T01:54:36.611Z","updated_at":"2026-02-20T19:33:16.017Z","avatar_url":"https://github.com/testdriverai.png","language":"PowerShell","readme":"![TestDriver.ai](https://github.com/dashcamio/testdriver/assets/318295/2a0ad981-8504-46f0-ad97-60cb6c26f1e7)\n\n# TestDriver.ai v6 Quickstart\n\nSample repo that has a guide for common web use cases. Using a Desktop app and need help? Email us at support@testdriver.ai and we can help if you get stuck.\n\n---\n\n**What is TestDriver?**\n\nNext generation autonomous AI agent for end-to-end testing of web \u0026 desktop\n\n[Website](https://testdriver.ai) | [Docs](https://docs.testdriver.ai) | [Join our Forum](https://forums.testdriver.ai) | [Signup](https://app.testdriver.ai)\n\n---\n\n## Setup\n\nFirst, [fork this repository](https://github.com/testdriverai/quickstart-web/fork).\n\n\u003e TestDriver requires an API key. Get one by signing up at [app.testdriver.ai](https://app.testdriver.ai) and start your 7-day trial.\n\n## Test Generation\n\nTests are defined in YAML files located in the `testdriver/tests` directory. Each test file contains a series of steps that the AI agent will execute.\n\n### Two Ways to Create Tests\n\n**1. Interactive Mode** (see `mytest.yaml`)\n- Run `npx testdriverai@latest testdriver/tests/mytest.yaml` and enter prompts interactively\n- TestDriver will generate specific commands for each prompt and save them to the file\n- For more info see [Interactive Mode Documentation](https://docs.testdriver.ai/interactive/explore)\n\n**2. Prompt-Based Testing** (see `prompts.yaml`)\n- Write your test plan/steps/exit criteria as a set of prompts in a YAML file\n- TestDriver executes them in order, creating commands on the fly\n- Use `--heal` and `--write` flags to save working steps and enable auto-retry\n- TestDriver can also generate prompts using the `/generate` command - see [Generation Documentation](https://docs.testdriver.ai/features/generation)\n\n### Auto-Healing\nUse the `--heal` flag to enable automatic retry of failed steps. Documentation: [Auto-Healing](https://docs.testdriver.ai/features/auto-healing)\n\n**Note:** The website will be loaded automatically before the first step (configured in `prerun.yaml`), so you don't need to include navigation commands.\n\n## Lifecycle Scripts\n\nTestDriver uses three types of lifecycle scripts that run at different stages of the testing process:\n\n### Prerun Scripts (`testdriver/lifecycle/prerun.yaml`)\n\n- Run **BEFORE** each test in the suite\n- Used for setting up the testing environment\n- Example: Launching Chrome with specific configurations, setting up TestDriver Dashcam for replays and logs\n\n### Provision Scripts (`testdriver/lifecycle/provision.yaml`)\n\n- Run **ONCE** when your VM is created\n- Used for initial setup that only needs to happen once per VM\n- Example: Downloading files from Google Drive or GitHub repositories to add to the VM during provisioning\n\n### Postrun Scripts (`testdriver/lifecycle/postrun.yaml`)\n\n- Run **AFTER** each test in the suite\n- Used for cleanup or post-processing tasks\n- Example: Sending dashcam recordings to the server\n\n## Environment Variables\n\nThe `.env.example` file shows the required environment variables:\n\n- `TD_API_KEY`: Your TestDriver API key\n- `TD_WEBSITE`: The website to test\n- `TD_TEST_USERNAME` and `TD_TEST_PASSWORD`: Optional - Credentials for testing\n\nRename `.env.example` to `.env` and fill in your actual values.\n\n## Running a test\n\nTo run a test, use the following command from your favorite terminal:\n\n```bash\nnpx testdriverai@latest run tests/test_case.yaml\n```\n\nTo use an integrated IDE experience for creating, viewing, debugging and running tests, we recommend VS Code with the [TestDriver.ai extension](https://marketplace.visualstudio.com/items?itemName=testdriver.testdriver).\n\n## GitHub Actions\n\nThe repository includes a GitHub Actions workflow (`testdriver.yml`) that allows you to run tests manually or automatically. You can select a specific test folder or file to run through the GitHub Actions interface.\n\nUsing a different CI/CD tool? No problem! The `testdriver.yml` file can be used as a template for other CI/CD tools. Just run the `npx testdriverai@latest run` command with the path to your test file in your CI/CD pipeline.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestdriverai%2Fquickstart-v6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftestdriverai%2Fquickstart-v6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestdriverai%2Fquickstart-v6/lists"}