Support > Advanced Web Page Options > Initial Automation steps

Advanced Web Page Options: Initial Automation steps

The Initial Automation steps are available when taking screenshots of multiple URLs. These steps are run once before one navigates to each URL from the capture. This is useful for first logging into a website, then navigating to different pages and taking screenshots of them.

You can combine the Initial Automation steps to log in to a website first with the Automation steps that run for each URL.

The Initial Automation steps run the same way as the Automation steps.  Each step is made of:

  • a command:
    • type: type text, like a username or password
    • click: click on an element
    • javascript: execute JavaScript
    • sleep: wait for a number of seconds
    • navigate: navigate to a new URL
    • screenshot: take a screenshot of the current screen, page, or specific element
    • scroll: scroll to an element on the page or a specific height
  • element (optional): a CSS selector targeted by the command, for example, the input field to type a username, the element to click on, etc.
  • value (optional): the number of seconds to sleep, the text to type, the URL to navigate to, or the JavaScript code to execute

You can find more information on our blog, including an example of taking screenshot hourly of multiple webpages behind a login form.