If your test suite handles a modal dialog popup, for example, a redirect to another location, then you may need to add a custom profile so that the popup is suppressed. This can be fixed by applying a custom Firefox profile with the option turned off: (example is in Ruby using Capybara)27-09-2017