Exception: Capybara::Lightpanda::UnhandledModalError

Inherits:
Error
  • Object
show all
Defined in:
lib/capybara/lightpanda/errors.rb

Overview

A JS dialog opened with no accept_modal/dismiss_modal pre-arm in flight and the driver was configured with raise_on_unhandled_modal: true. Lightpanda has already applied its silent default by the time this is raised (confirm → cancel, prompt → null, alert → dismissed).