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:
- Open the options of the action that will trigger the new page
- Look for the "On new page or tab" section
- Choose between "Follow" or "Stay" using the radio buttons
- Run your test normally
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
Note: This configuration only affects version 2 and later of the Click Action. In earlier versions, new pages are always followed automatically regardless of this setting.