Skip to main content

Using Claude Code, Cursor, or another coding agent? Paste this into your prompt to run cross-browser and real-device tests, debug sessions, and wire up CI on the TestMu AI cloud:
Objectives can directly manage cookies, localStorage, and the clipboard, useful for seeding state before a flow (skip a login, dismiss a consent banner) and for testing copy/paste behavior.

Cookies

  • Values accept {{variables}}: set a cookie named session with value {{auth_token}}
  • A cookie without an explicit domain applies to the current page’s site. Navigate first
  • Reload or navigate after setting if the page must pick the cookie up
  • Provide path together with a domain; a path alone is rejected by the browser

localStorage

  • Storage is per-site. Navigate to the target site before setting
  • Reload after setting if the app only reads storage on page load
  • Values accept {{variables}}

Clipboard

The run uses an isolated test clipboard. Your real OS clipboard is never read or written. Site Copy buttons are captured into it automatically.
  • Paste targets the focused field: click or focus the field first, then paste (Ctrl/Cmd+V in an objective works the same way)
  • Text and images both paste; rich editors receive a real paste event
  • Typical flows: write → click field → paste, or click the site’s Copy button → click field → paste

Verifying state

Each of these has a matching assertion family. See Cookies, localStorage, and Clipboard: