Skip to content

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 14 Feb 05:34
· 3 commits to main since this release

v0.8.0

Added

  • Verify commands for assertions during REPL sessions and .pw scripts:
    • verify-text "text" -- assert text is visible on the page
    • verify-no-text "text" -- assert text is NOT on the page
    • verify-element "target" -- assert element exists (by text, aria-label, label)
    • verify-no-element "target" -- assert element does NOT exist
    • verify-url "substring" -- assert current URL contains a string
    • verify-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 scripting permission 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 (export command)
  • 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.addScriptToEvaluateOnNewDocument so 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 .pw command 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