Repository navigation
Releases: stevez/playwright-repl-extension
Releases · stevez/playwright-repl-extension
Release list
v0.9.3
Added
- Command autocomplete with ghost text hint while typing
- Autocomplete dropdown (auto-shows while typing, Tab, or Ctrl+Space to trigger)
- Arrow key navigation, Enter/Tab/click to select from dropdown
- Tab on empty input shows all available commands
Fixed
- "Extension context invalidated" error after extension reload (
chrome.runtime?.idguard) - Port reconnect loop stops when extension context is dead
v0.9.2
v0.8.0
v0.8.0
Added
- Verify commands for assertions during REPL sessions and
.pwscripts:verify-text "text"-- assert text is visible on the pageverify-no-text "text"-- assert text is NOT on the pageverify-element "target"-- assert element exists (by text, aria-label, label)verify-no-element "target"-- assert element does NOT existverify-url "substring"-- assert current URL contains a stringverify-title "text"-- assert page title contains a string
- Verify commands produce PASS/FAIL output with descriptive messages
- Playwright export support for all verify commands
- Removed unused
scriptingpermission and<all_urls>host permission - Extracted all inline JS into testable functions (
callInPage+Function.toString()pattern) - 281 tests total
v0.7.0
Fixed
- Debugger session cleanup: the yellow "debugging this tab" bar now reliably disappears when recording stops or the panel closes
- Three-layer cleanup strategy: on panel connect, on stop recording, and on panel disconnect
- Handles MV3 service worker restarts that previously left orphaned debugger sessions
- Content recorder now correctly records checkbox check/uncheck interactions
Added
- Unit test suite with 212 tests using Vitest
- Test coverage for all source files
- Chrome API mocking via vitest-chrome with happy-dom environment
v0.6.0
Added
- Export session as Playwright TypeScript test (
exportcommand) - Export single command conversion (
export <cmd>) - Scoped click support:
click "delete" "Buy milk"targets a button within a specific list item - Checkbox recording via content script with label/context detection
- Recording via
console.debug("__pw:...")protocol with CDP Page.addScriptToEvaluateOnNewDocumentso recorder survives page reloads
v0.5.0
Added
- Action recorder: toggle recording, interact with the page, see .pw commands appear in real time
- Recording captures: clicks, text input, dropdown selections, checkbox toggles, special key presses, page navigations
- Load, replay, save, and copy
.pwcommand files - Command history navigation with ArrowUp/ArrowDown
- 20+ commands: goto, click, fill, select, check, hover, dblclick, press, snapshot, screenshot, eval, navigation, export, help
v0.1.0
Added
- Initial Chrome DevTools extension (Manifest V3)
- DevTools panel with terminal-style REPL interface
- Background service worker with CDP command execution via
chrome.debugger - Basic command set:
goto,snapshot,screenshot,eval,click(by ref),press - Accessibility tree snapshot with formatted output
- Dark theme UI with monospace font