First Page Links to All Other Pages

When the first page contains direct links to all other pages, you can follow a link to access any page directly from the first page.

Note The first page can also contain a link to itself.

first Page links to all other pages

In this example, you can easily loop through pages using a For Each Tag step, as shown in this excerpt from a robot.


For Each Tag step example

In this illustration, the robot loops through the result pages from a search request, symbolized by the Submit Form step.

The first result page is processed directly, shown by the connection from the form submission step directly to the Process Page step.

The remaining pages loop through using the For Each Tag action in the second branch.

The Test Tag step checks to confirm there is more than one page.

  • If the first page links to multiple pages:

    1. Loop through the tags containing the links to the pages.

    2. Load each page using a Click action.

    3. Continue to page processing.

  • If the first page links to itself:

    1. Configure the For Each Tag action to skip this first link.

      The first page is not processed twice.