Live
Tunor AI – AI-Powered Test Automation for VS Code
Instantly generate and manage Playwright tests with near-zero setup — from URLs, click recording, or a fresh scaffold.
Important: We only send your generated Page Object and test files to the LLM. Your source code and credentials always stay secure inside your local environment.
Works with VS Code, Cursor, VSCodium, Eclipse Theia, Gitpod, and more via Open VSX.
✨ Features
- Control Center UI: One command opens a guided hub to manage all flows.
- Bootstrap Playwright Project: Scaffold a ready-to-use project with POM structure and config.
- Auth POM Generator (single or batch): Generate POM + tests for authenticated pages using saved auth state or credentials.
- Regular POM Generator: Generate POM + tests for public pages from a URL (batch supported).
- Click Capture: Record interactions and generate a POM + test (backs up POMs before overwrite).
- Save Playwright Auth State: Sign in once; store
.auth/storageState.json
for future runs. - Add
data-test
Attributes: Bulk-insert stable selectors across React/JSX/TSX files.
🛠 Getting Started
- Open Command Palette:
Cmd/Ctrl
+Shift
+P
- Run:
Tunor AI: Open Control Center
- Click “Login” in the panel and sign in to your Tunor AI account
- (Optional) Use “Bootstrap Playwright” to scaffold a project
📦 Usage
Open Control Center
Command:
Command:
Tunor AI: Open Control Center
Bootstrap Playwright
Creates base config, installs deps, and sets up a POM-friendly structure.
Creates base config, installs deps, and sets up a POM-friendly structure.
Save Auth State
Provide login URL and credentials; Tunor logs in and saves
Provide login URL and credentials; Tunor logs in and saves
./playwright/.auth/storageState.json
.Auth POM Generator (URL → POM + Test)
Inputs: Target URL, optional Login URL, Username, Password. Batch: multiple lines as
Inputs: Target URL, optional Login URL, Username, Password. Batch: multiple lines as
url,loginUrl,username,password
.Regular POM Generator (Public pages)
Input: Target URL (batch supported, one URL per line).
Input: Target URL (batch supported, one URL per line).
Click Capture
Launch recorder; generated test is appended; POM is overwritten with a backup created first.
Launch recorder; generated test is appended; POM is overwritten with a backup created first.
Add
Bulk-insert stable selectors across React/JSX/TSX files for resilient tests.
data-test
AttributesBulk-insert stable selectors across React/JSX/TSX files for resilient tests.
📁 Generated Files & Structure
- Base folders:
playwright/tests
,playwright/pages
,playwright/utils
,playwright/fixtures
,playwright/config
Scalable option adds grouped subfolders likeplaywright/tests/smoke
,playwright/pages/<area>
,playwright/data
, etc. - Config:
playwright.config.ts|js
at repo root. - Auth state:
playwright/.auth/storageState.json
(referenced viause: { storageState: './playwright/.auth/storageState.json' }
). - Generated Page Object:
playwright/pages/<url_path>.page.ts|js
(mirrors URL pathname). - Generated Test:
playwright/tests/<url_path>.spec.ts|js
(imports corresponding page object). - Click Capture backups: Overwrites create
<file>.bak.<timestamp>
and show a diff before finalizing.
Extensions .ts
or .js
are chosen automatically based on your Playwright config.
🎥 Demo
⚙️ Requirements
- VS Code ≥ 1.61 (or compatible IDE via Open VSX)
- Node.js ≥ 18
- Internet connection
- Tunor AI account
🛠 Support
💬 Feedback
Have suggestions, feature requests, or found an issue?
🔒 License
Proprietary software. Not open source.
© 2025 Tunor AI – All rights reserved.
🧠 About
Tunor AI brings fast, intelligent Playwright test creation to your workflow using real-time AI automation — making test automation smarter, simpler, and faster.