To build an auto clicker for Chrome that clicks one web button on a fixed schedule and stops on its own, connect Chrome to RunMacro Desktop on Windows, pick the target button by its CSS selector, set Interval between clicks to 10 seconds, set Number of clicks to 5, and click Start background click.
One setup rule up front: RunMacro Desktop on Windows 10/11 runs the macro directly over Chrome DevTools Protocol—the guided Chrome Auto Clicker template works without installing any browser extension. The optional RunMacro Smart HTML Chrome extension helps inspect and pick page elements for larger Studio workflows, and it never clicks on its own. Together, that four-part sequence—repeat counter, bound HTML selector, 10-second pause, and stop limit—is a browser macro: RunMacro Desktop sends each click straight to that HTML element inside your pinned Chrome tab without touching your physical mouse.
Watch Chrome Auto Clicker lock a button and click silently
Preview how RunMacro binds a live CSS selector and clicks a Chrome tab in the background before running the 5-click demo below.
What you will build in this test run
Always test a new click loop on a safe sandbox page first, never on a live checkout or production dashboard. For this walkthrough, we ran RunMacro Desktop 3.5.4 on Windows against a local Click Counter Test Page (127.0.0.1) with one Refresh Counter button (button#refresh-counter-btn) and a live click log.
• Target element: Refresh Counter (button#refresh-counter-btn) on an open Chrome tab.
• Action: Background element click (keeps your physical cursor free).
• Configured interval: 10 seconds between clicks (Random unchecked).
• Stop condition: 5 total clicks (Run until stopped unchecked).
You can mirror the same steps on any local test page that has a click-counter button or a harmless manual Refresh button.
Build the 5-click Chrome browser macro in 5 steps
Step 1: Install RunMacro Desktop and open Chrome from the template
Install RunMacro Desktop on Windows 10/11. The guided Chrome Auto Clicker template connects through Chrome DevTools Protocol with no extension required; if you also want visual selector inspection inside Chrome for multi-step workflows, add the optional Chrome auto clicker extension (RunMacro Smart HTML) from the Chrome Web Store.
1. Open RunMacro Desktop, go to Templates, and select Chrome Auto Clicker (or click Open Chrome Auto Clicker in RunMacro in this guide if RunMacro is already installed).
2. Inside the Chrome Auto Clicker dialog, click Open Chrome. RunMacro launches a controlled Google Chrome window with remote debugging enabled. If you prefer connecting a named profile, follow the Chrome CDP profile setup guide.
3. Open your test page in that Chrome window, click Refresh next to the tab dropdown if needed, and select your test tab.
Step 2: Pick the target button on the page
Click Pick web element. RunMacro hides its dialog and shows a dark prompt bar at the top of the Chrome tab: "Click the button or web element you want to auto-click on the page. Press Esc to cancel."
Hover over Refresh Counter until the outline frames the button, then click once. RunMacro's picker intercepts that click, so the button captures cleanly while the page's click counter stays at 0.

When the Chrome Auto Clicker dialog returns, check the target card under Chrome Tab & Target Element:
• Element label: [button] Refresh Counter
• Host & CSS selector: 127.0.0.1:18765 · button#refresh-counter-btn
• Readiness status: "Ready for background clicking on the pinned Chrome tab (mouse stays free)"
Because the step binds to the button's CSS selector rather than screen (X, Y) pixels (which belongs to a Windows desktop auto clicker), moving or resizing the Chrome window does not throw off the clicks. For selector details, see the Smart HTML element actions documentation.
Step 3: Set a 10-second interval and a 5-click limit
Configure the three controls directly under the target card:
1. Action: Leave set to Background element click.
2. Interval between clicks: Change the 1-second default to 10 seconds. Leave Random unchecked for a fixed 10-second gap.
3. Number of clicks: Change the 10-click default to 5. Leave Run until stopped unchecked so the macro stops on its own.
Check the summary box before starting (shown below right after our 5-click test finished). It reads: "Background-click 'Refresh Counter' (127.0.0.1:18765), repeat 5 times, wait 10 seconds between clicks."

Step 4: Run the test and see how RunMacro counts clicks
Click Start background click. The button switches to Stop (F9), and pressing F9 halts the macro immediately at any point.
Here is how RunMacro 3.5.4 counts the first click and the five repetitions:
• Click #1 fires immediately when you press Start background click—there is no 10-second delay before the first click.
• The 10-second wait runs between clicks: click #1 → wait 10s → click #2 → wait 10s → click #3 → wait 10s → click #4 → wait 10s → click #5.
• No trailing wait in the guided dialog: Right after click #5 succeeds, the Chrome Auto Clicker dialog skips the fifth delay and stops immediately with "Completed: background-clicked 5 times." Five clicks at a 10-second interval therefore take about 40 seconds, not 50 seconds.
If you click Customize in Studio at the bottom-left of the dialog, you can inspect the exact four-command browser macro behind this template:
1. IF LOOP: repeat 5 times
2. Smart HTML: Click button#refresh-counter-btn [cdp]
3. Delay 10000 ms
4. End IfIn Studio—where you can later expand this into multi-step Chrome web automation—Loop controls the 5 iterations and Delay controls the 10,000 ms pause. Studio still fires 5 clicks total (click #1 right away, clicks #2–#5 every 10 seconds), with one small timing difference: Studio also runs the trailing 10-second Delay after click #5 (~50 seconds total runtime) unless you exit the loop early.
Step 5: Verify the click counter and log on the test page
Wait until the status line in Chrome Auto Clicker turns green and displays "Completed: background-clicked 5 times." Then check your Chrome test tab:
1. Total Clicks reads 5.
2. Observed Click Log lists five entries (#1 through #5) and stops cleanly without firing a sixth click.

Configured interval vs. measured timing (our test run)
A configured 10-second pause is never exact to the single millisecond once Chrome DevTools Protocol (CDP) and DOM event dispatch run. Below are the configured settings next to the exact timestamps recorded on our local test page in RunMacro 3.5.4:
| # | Timestamp | Elapsed | Gap (10s target) |
|---|---|---|---|
| #1 | 08:35:08.247 | 0.00s | Start (0.00s) |
| #2 | 08:35:18.287 | 10.04s | +10.04s |
| #3 | 08:35:28.313 | 20.07s | +10.03s |
| #4 | 08:35:38.357 | 30.11s | +10.04s |
| #5 | 08:35:48.395 | 40.15s | +10.04s |
Each measured gap landed between 10.03s and 10.04s—roughly 25–44 ms above the configured 10.00s delay. From click #1 to click #5, the page measured 40.15s, and the RunMacro controller finished in 40.27s with status "Completed: background-clicked 5 times."
Frequently asked questions
Can the Smart HTML Chrome extension click buttons by itself?
No. The Smart HTML Chrome extension only helps inspect and pick web elements inside Chrome; it never clicks on its own. RunMacro Desktop on Windows runs the loop, timer, and click actions—and the guided Chrome Auto Clicker template works over Chrome DevTools Protocol without requiring an extension.
Why did 5 clicks every 10 seconds finish in ~40 seconds instead of 50?
Click #1 fires immediately when you start, so there are only four 10-second gaps between five clicks. The guided Chrome Auto Clicker dialog skips the trailing pause after click #5 and exits right away.
Will clicks still land if I switch to another window?
Yes. RunMacro pins to the chosen Chrome tab over Chrome DevTools Protocol (bring_to_front=False), so background clicks continue without stealing your physical mouse cursor while you work in other windows.
Confirm 5 clicks and stop cleanly
Before pointing this browser macro at a real webpage, verify these three checks on your test page:
• Picking did not fire early: Total Clicks stayed at 0 while selecting button#refresh-counter-btn.
• Exact stop at 5: The test page stopped at 5 clicks and RunMacro reported "Completed: background-clicked 5 times."
• Clean idle exit: The runner exited right after click #5, returning Start background click to its idle state; wait a few extra seconds on your own test page to confirm no sixth click fires.
Once your 5-click dry run checks out, click Pick a different element to target your real Chrome tab, set the interval and click limit you need, or review browser compatibility and sandbox limits on the RunMacro Smart HTML Chrome extension page.
