Element Actions Command Reference (Smart HTML Selectors)
Browser ModeRunMacro 3.5+
The Smart HTML command acts directly on a web element (button, input, link...) using a recorded smart selector instead of coordinates.
Dialog & quick setup

- Use the element picker (Extension) to capture the target selector.
- Add a Smart HTML command and choose the action (Click, Type, Extract...).
- Choose the execution mode: Auto/CDP (background), Extension (active browser), or Real Mouse.
- (For Type) enter content; (for Extract) set a result variable. Save.
Options reference
Modes & when to use
Browser Mode
Best for
- Automate a website precisely by element (no coordinate drift).
- Fill forms, click buttons, choose dropdowns on the web.
- Extract data (text, links, tables) from a page.
- Run in the background via Chrome/CDP without taking the real mouse.
Use an alternative when
- Do not use it for Desktop apps, canvases without useful DOM, or unverified selectors.
Before you run
- Add Smart HTML to the macro.
- Prepare the data or target that Smart HTML will use.
Example workflow
Example: fill a web email field then click a button
- Pick the email field selector, add Smart HTML action Type, enter the email.
- Pick the "Continue" button selector, add Smart HTML action Click.
- Use Auto/CDP mode to run in the background.
Expected result: After execution, Smart HTML completes the described action and makes its result available to the next step.
Tips & limitations
Smart HTML is more accurate than coordinate-based Mouse Click on the web — prefer it for Chrome.
Wait/Assert/Extract actions need CDP or Extension mode (Real Mouse is click/double-click/right-click/type/hover only).
- Selector, iframe/shadow context, and execution mode determine the target; DOM replacement can make the action miss.
Applies to RunMacro 3.5+ · Browser Mode · Windows 10/11
