Skip to main content

Overview

The Preview Editor combines test authoring with live execution feedback, allowing you to validate test steps as you write them. The Spur agent executes your instructions in a live browser environment, providing immediate visibility into how your tests perform.

Getting started

1

Open Preview Editor

Navigate to the test you want to edit and click Preview Editor.
Open Preview Editor
2

Configure viewport

Select the viewport for your test session - either Desktop or Mobile. This determines the screen dimensions the Spur agent will use during test execution.You can reference the Viewports for detailed information on viewport configurations.
Configure Viewport
3

Enter the editing environment

The Preview Editor launches an interactive test authoring environment with multiple capabilities accessible through different tabs and panels.
Enter the Editing Environment
This section consists of several key components that let you edit steps, inspect runs, and debug failures.
Navigating the Editing Environment
Write and execute test steps in the left panel. The editor supports adding, editing, and running individual steps or complete test sequences.
Test Steps
Configure test dependencies and tear down tests to control test execution order. The Dependencies panel allows you to establish relationships between tests.
Dependencies
Configure test metadata and expected outcomes in the Details panel. This section allows you to add descriptive information about your test.
Details
Watch the Spur agent execute your test steps in real-time within a live browser environment. The sandbox displays exactly what the agent sees and does during test execution.
User interactions in this sandbox are not recorded. Any changes made by the user in this sandbox browser will not be incorporated into testing.
Spursor Sandbox
Review the agent’s planned actions before execution.
Preview Mode
View the agent’s thought process when evaluating and executing test steps. Agent logs provide insight into how the agent interprets your instructions and decides on actions.
Agent Logs
View real-time console logs generated when running tests, including warnings, errors, and debug messages from the browser.
Console Logs
View real-time network activity during test execution, including API requests, response status codes, methods, and domains.
Network Logs
View extracted or generated values saved in the testing environment. These values can be accessed and used in subsequent test steps.
Environment
Access page and window dimensions to aid test step creation. View current scroll position, page dimensions, and window size. You can also scroll within the Spursor Sandbox and access the page position directly.
Scroll Estimations

Copy and paste in the test browser

Copy text inside the remote test creation browser to put it on your computer’s clipboard. To paste text into the remote browser, focus it and press Ctrl+V, or Cmd+V on macOS. Spur reads your local clipboard only when you use the paste shortcut. It does not read it when you hover over or click the remote browser. Your browser may ask for clipboard permission. On macOS, Spur translates supported Cmd shortcuts to the remote browser’s Ctrl shortcuts. Shortcuts reserved by your local browser, such as opening or closing a tab, stay local. Clipboard transfer supports plain text.

Key benefits

Resolving Test Step Issues

Preview Editor allows you to walk through the agent’s exact execution process, identifying and resolving issues with test steps in real-time.

Transparency in AI Decision Making

Provides complete visibility into how the agent interprets and executes your instructions, helping you understand its decision-making process.

Prompting Practice & Learning

By observing how the AI responds to different instructions in real-time, you can improve your prompting skills and learn the most effective ways to communicate with the agent.

Quality Assurance

Preview Mode ensures that each step executes exactly as intended, reducing errors and improving test reliability. You maintain full control over the agent’s actions before execution.