Automatic popup dismissal

mabl automatically attempts to dismiss popups that open on a page during testing. This means you don't have to worry about failing tests if you're running your tests against changing applications with newly added or removed popups. Think of it as an automatic conditional: if a popup is detected that interrupts the regular flow of the test, mabl will dismiss it and continue testing normally. In the case of window popups, mabl will automatically accept these to dismiss them. You're also able to train against and dismiss the popups manually if you prefer. This feature is available on Chrome, Firefox, and Internet Explorer.

Types of Popups

mabl handles most popups automatically, but there are some exceptions.

Popup Type

Does mabl handle this?

You can train against the popup

Standard Webpage Popup

Yes. mabl will automatically dismiss these popups in the event that the regular action in the test would fail without it.


window.alert() Popup

Yes. mabl will automatically dismiss these popups.


window.prompt Popup

Yes. mabl will automatically dismiss these popups.


Basic Auth Popup

Yes, but you'll need to add your basic auth credentials to mabl and enable them at the plan level.




Automatic popup dismissal is limited only to the cloud run. During the trainer replay, you would need to manually dismiss it.

Did this page help you?