Webapp Testing Slow Motion

Sub-skill of webapp-testing: Slow Motion (+3).

vamseeachanta 4c86a8b 655 B Updated

File contents

Slow Motion (+3)

Slow Motion

browser = p.chromium.launch(slow_mo=500)  # 500ms delay between actions

Headed Mode

browser = p.chromium.launch(headless=False)  # See the browser

Pause Execution

page.pause()  # Opens Playwright Inspector

Trace Recording

context = browser.new_context()
context.tracing.start(screenshots=True, snapshots=True)

page = context.new_page()
# ... test code ...

context.tracing.stop(path="trace.zip")
# View with: playwright show-trace trace.zip

vamseeachanta/workspace-hub/tree/main/.agents/skills/_archive/development/webapp-testing/slow-motion commit 4c86a8b64b

Frequently asked questions

npx skillmds@latest add vamseeachanta/webapp-testing-slow-motion