Visual editor tests

The visual editor is no-code A/B testing: you change your page by clicking on it, not by writing code. The visual editor loads your real page. Click any element to change it, or use Add Change to describe a change to AI or add your own code.

On this pageThe editor at a glanceClick an element to change itAdd a change from the panelChange with AIAdd your own JavaScript and CSSManage your changesIf the page doesn't load in the editorNext steps

Updated November 28, 2026

A visual editor test changes your page in the visitor's browser, so you can try a new headline or layout without touching your site's code. You build the change once on a live copy of your page, and CROforce applies it for the visitors in the variant.

The editor at a glance

Create a new test of type Visual editor, or click Edit › Open Editor on an existing one. The page fills the left side; the panel on the right lists your changes.

The test editor top bar: test status and name, desktop and mobile switch, page picker, refresh and show-original buttons, preview, performance, full screen, undo, redo, save status and the Publish button

The top bar of the test editor.

Control

What it does

Desktop / mobile switch

Shows the page at desktop or phone width.

Page picker

Picks which page to load. Search or paste an address.

Refresh preview

Reloads the page.

Show original / Show with changes

The eye icon flips between the page as visitors see it today and with your variant.

Preview the test on the selected page

Opens a link and QR code for your real site. See
Preview a test on your site
.

View performance

Opens the results. Shown once the test has run.

Undo / Redo

Steps back and forward through your edits.

Save status

Saving…, Saved, or Couldn't save with a Retry link. Your edits save on their own.

Publish / Resume

Puts the test live. The arrow beside it holds the other actions. See
Publish, pause and complete a test
.

Click an element to change it

Hover over the page to see each element outlined, then click it. A menu offers:

Option

What it does

Edit Text

Rewrites the element's text. The panel shows the Original copy and a Variant copy box for the new wording.

Hide Element

Hides the element for visitors in the variant — useful to test whether a banner, a field or a section is helping or getting in the way.

Insert Widget Above / Insert Widget Below

Adds one of your
Widgets
just above or below the element.

Replace with Widget

Swaps the element for a widget.

Change with AI

Opens the AI chat, focused on this element. See
Change with AI
.
An Edit Text change in the test editor, showing the original headline under Original copy and the new wording in the Variant copy box, with locate, on/off and delete buttons at the top

An Edit Text change. The switch turns it on or off; the bin deletes it.

Add a change from the panel

Click Add Change at the bottom of the panel for changes that don't start from one element:

The Changes panel of the test editor with one Edit Text change and the Add Change menu open, listing Change with AI, Insert Widget, Add JavaScript and Add CSS

The Add Change menu.

  • Change with AI — click an element to focus the AI on it, or choose Apply to the whole page.
  • Insert Widget — click where the widget should go. The top half of an element puts it above, the bottom half below. Then pick the widget.
  • Add JavaScript — code that runs on the page for visitors in the variant.
  • Add CSS — styles added to the page for visitors in the variant.

Change with AI

Describe the change in plain words and CROforce builds it on the page. The chat opens with What should we test? and examples like Add a countdown timer to create urgency or Rewrite the heading to be shorter.

  1. Type what you want in Describe the change you want.
  2. Optional: click + (Add to your prompt) to Upload Image — a design or a screenshot to copy — or Select Page Element to point at the part of the page you mean. You can also connect Figma so the AI can read a design you link.
  3. Send it. CROforce shows its progress — Reading the page, Designing the variant, Checking the code, Applying to the preview — and the change appears on the page.
  4. Not right? Reply in the chat to adjust it, or use Restore this version on an earlier answer to go back.

Click Edit Code to see and edit what the AI wrote, in JavaScript, CSS and HTML tabs.

Check it on both devices. A change that looks right on desktop can break on a phone. Flip the device switch and look again before you publish.

Add your own JavaScript and CSS

Use Add JavaScript or Add CSS when you know exactly what you want. The code runs in the preview so you see the result right away, and on your site for visitors in the variant.

JavaScript
// Change the main button's label and colour
var button = document.querySelector('.hero .widget-button');
if (button) {
  button.textContent = 'Start my free trial';
  button.style.backgroundColor = '#16a34a';
}
CSS
.hero h1 { font-size: 44px; }
.trust-badges { display: none; }

Code runs only in the variant. Control never gets it. If the element your code looks for isn't on the page, nothing happens, so check that your selectors match your live site.

Manage your changes

Each change is a row under Changes. Click a row to open it. At the top of an open change:

  • Show on page — scrolls the preview to the element.
  • The on/off switch — a change that's off is kept in the test but not shown to visitors when you publish.
  • Delete change — removes it.

To test more than one version, add a variant with + next to the variant tabs. See Variants and traffic allocation. The gear icon opens Test settings.

If the page doesn't load in the editor

  • Preview unavailable — the address redirects somewhere else. Click Update URL to use the address it redirects to.
  • The page stays blank — click Refresh preview. If it still fails, check that the address opens in a normal browser window.

Next steps

Frequently asked questions

Do I need a developer to build a test?

No. Editing text, hiding elements, inserting a widget and Change with AI all work by clicking on the page. Add JavaScript and Add CSS are there for when you want full control.

Do my edits go live as I make them?

No. The editor saves your work automatically, but visitors only see it after you publish. On a running test, click Publish again to push new edits live.

Can I test on mobile only?

You can preview and edit the page at mobile size with the device switch, and limit the test to mobile visitors under Test settings › Devices.

Was this article helpful?

Try it on your own site

Add a popup, form or quiz to your site in a few minutes and see what it does for your conversions.