Handle Asynchronous Pop-Ups in Scenario Editor
Last reviewed: September 22, 2026
Use this guidance when pop-ups, modals, ads, or focus-stealing elements appear unpredictably during Scenario Editor playback.
Recommended guidance
- Identify whether the interruption is an application modal, browser dialog, new tab, or third-party ad.
- Prefer explicit waits and conditional handling over fixed sleeps or broad eval workarounds.
- Validate the expected page state after dismissing or bypassing the interruption.
Validation workflow
- Trigger the workflow step that may produce the popup.
- Wait for either the popup or the normal next-page condition.
- If the popup appears, validate it and close or dismiss it according to the scenario objective.
- Return focus to the expected page element and continue the workflow.
- Log screenshots and timing when popup behavior is intermittent.
Note: Avoid old Designer-specific eval patterns unless Support confirms they are still required for a legacy scenario.
Last updated: September 22, 2026
If you have feedback on this topic, contact documentation@appvance.ai.