VSCode Extension ยท 4 Free AI Models ยท No Credit Card

Stop rewriting.
Migrate Selenium
to Playwright.

Right-click any Selenium test file. Get clean, production-ready Playwright code in seconds โ€” powered by AI. Bring your own API key. Free forever.

4
Free AI Models
5
Input Languages
Free
Forever
BYOK
Your Own API Key

Live Conversion

Before โ†’ After, instantly

selenium_login.py
1from selenium import webdriver
2from selenium.webdriver.common.by import By
3from selenium.webdriver.support.ui import WebDriverWait
4from selenium.webdriver.support import expected_conditions as EC
5 
6driver = webdriver.Chrome()
7driver.get("https://app.example.com")
8 
9driver.find_element(By.ID, "email").send_keys("")
10 
11driver.find_element(By.CSS_SELECTOR, ".login-btn").click()
12 
13WebDriverWait(driver, 10).until(
14 EC.visibility_of_element_located((By.ID, "dashboard"))
15)
16driver.quit()
โšกAI Convert
login.playwright.ts
1import { test, expect } from '@playwright/test';
2 
3test.describe('Login', () => {
4 test('user can sign in', async ({ page }) => {
5 
6 await page.goto("https://app.example.com");
7 
8 // Auto-wait built in โ€” no WebDriverWait!
9 await page.locator('#email').fill('');
10 
11 await page.locator('.login-btn').click();
12 
13 await expect(
14 page.locator('#dashboard')
15 ).toBeVisible();
16 
17 });
18});

What's included

Everything you need
to migrate at speed

โšก
One-click conversion
Right-click any file in Explorer or Editor. Works on whole files or highlighted selections.
๐Ÿค–
6 AI providers
4 completely free โ€” Groq, Gemini, OpenRouter, DeepSeek. Plus OpenAI & Anthropic for premium quality.
๐ŸŒ
5 input languages
JavaScript, TypeScript, Python, Java and C# Selenium tests all supported. Output to TS, JS or Python.
๐Ÿ“Š
Live token tracking
Status bar shows remaining tokens at all times. Full dashboard with visual usage meter and plan info.
๐Ÿ”’
Secure key storage
API keys stored in VSCode's built-in secrets vault โ€” never in plaintext, never leaves your machine.
๐Ÿ“
Non-destructive output
Creates a new .playwright.ts side-by-side. Your original file is never touched.

AI Models

Start free. Scale as you grow.

All 4 free providers work out of the box โ€” just grab a free API key, no credit card ever required.

FREE
Groq
llama-3.3-70b-versatile
14,400 req/day ยท No card needed
FREE
Google Gemini
gemini-2.5-flash
Generous free tier ยท No card
FREE
OpenRouter
deepseek/r1:free
30+ free models available
FREE
DeepSeek
deepseek-chat (V3)
Free tier ยท Excellent code quality
OpenAI
gpt-4o
Pay per token ยท Best accuracy
Anthropic
claude-sonnet-4-5
Pay per token ยท Superior reasoning

Usage Dashboard

Track your progress

Track files converted and tokens used in your status bar. Click to open the dashboard.

๐Ÿ“Š Your Usage Stats
All-time usage stats
FREE
42 files
035% used300
194
tokens remaining
14
files converted
26
files remaining
๐Ÿงช S2P: 194 tokens left click to open dashboard

Pricing

Free forever.
Bring your own key.

No subscriptions. No limits. Grab a free API key from any supported provider and start converting instantly.

RECOMMENDED
Groq
llama-3.3-70b-versatile
14,400 req/day ยท No card
Get Free Key โ†’
FREE
Google Gemini
gemini-2.5-flash
Generous free tier
Get Free Key โ†’
FREE
OpenRouter
deepseek/r1:free
30+ free models
Get Free Key โ†’
FREE
DeepSeek
deepseek-chat (V3)
Free tier available
Get Free Key โ†’

Get Started in 30 seconds

Install from the
VSCode Marketplace

Search for S2P in VSCode Extensions or run:

ext install PlaywrightAI.selenium-to-playwright
โ†“ Install for VSCode โ€” Free