Skip to content
Browse docs
Docs / Automations and logins / Run steps before each check

Run steps before each check

Automations are steps monity.ai performs on the page before every check: accept a cookie banner, open a tab, choose a filter, sign in. The check then captures the page as it looks after those steps.

Where they are

Steps are on the task’s Automations tab. Before there are any, the tab shows Build manual automation with an Add action button. For a page behind a login you don’t need steps at all: sign in once in the Live browser and every check stays logged in.

The Automations tab before any steps are added: Build manual automation with its Add action button

Build steps by hand

  1. Add a step

    Click Add action and choose the action type. Once you have steps, Add action sits under the last one.

    A new step with its action type list open: Click, Type, Select, Mouseover, Iframe, Wait, Refresh and more
  2. Point it at an element

    For actions that act on an element, click the pointer icon and then the element in the page preview, which is outlined in blue. Or type a CSS selector.

  3. Order and test

    Steps run from top to bottom. Drag the dotted handle to reorder, use a step’s switch to skip it without deleting it, and the bin to remove it. Click Update task to save.

    Three automation steps: click the cookie button, wait three seconds, click the yearly pricing toggle

Action types

Action What it does
Click Clicks an element: a button, a tab, a link.
Type Types into a field, such as a search box or a login form.
Select Chooses an option in a drop-down list.
Mouseover Hovers over an element to open a menu or tooltip.
Iframe Makes the following steps act inside an embedded frame.
Wait Pauses for a number of seconds.
Refresh Reloads the page.
Scroll Scrolls down the whole page so lazy-loaded content appears.
Remove Removes an element, such as a banner, before the capture.
Inject JS / Inject CSS Runs your own JavaScript or adds your own CSS on the page.
Text Script Clicks elements by the text on them, written as plain commands.
Pages behind a login

You usually don’t need automations to stay signed in. Sign in once in the live browser instead. See Monitor pages behind a login.

When a site changes and a step stops working

Sites move buttons and rename links. When a check’s steps no longer lead to the page or document they reached before, Monity notices before it sends an alert. It holds that check, keeps the last good capture to compare with, and tries once to repair the steps by itself, the way you would: it finds the content the task watched and records the new way to it. If the repair works, the task carries on with the new steps, so you may find them changed on the Automations tab. If it doesn’t, the next check goes on as usual, alert included, and Monity doesn’t try again until the task has a normal check. A held check isn’t shown in the task’s history, and the repair uses none of your credits.

If alerts from a task with steps look wrong, open the latest check and compare its screenshot with what you expect; see A page does not load correctly.

Was this page helpful?
Kamil, Alex and Martyna Median reply under 6 hours

Have a question?

Pricing, security, or scoping - pick a route and you will land in a real person's inbox.