Introduction

When clicking on links or buttons, browsers may open new pages or tabs.

Starting from version 2 of the Click Action, Magic Inspector no longer automatically follows these new pages/tabs by default. This change was implemented to improve performance speed.

Prior to version 2, Magic Inspector would automatically follow any new page or tab opened after a click.

How to follow new pages or tab in Magic Inspector

You can control whether Magic Inspector follows new pages/tabs for specific click actions:

  1. Open the options of the action that will trigger the new page
  2. Look for the "On new page or tab" section
  3. Choose between "Follow" or "Stay" using the radio buttons
  4. Run your test normally
Click action options New page behavior options in action settings

Follow vs Stay behavior

When set to "Follow", the click action will:

  • Wait up to 5 seconds for a new tab or page to open
  • Automatically switch to the new tab/page when detected

When set to "Stay", the action will:

  • Remain on the current page/tab
  • Ignore any new pages or tabs that open

Was this page helpful?