Class: Capybara::Simulated::FrameNotSupported

Inherits:
NotSupportedByDriverError
  • Object
show all
Defined in:
lib/capybara/simulated/errors.rb

Overview

Raised by ‘switch_to_frame` when the active JS engine can’t give the target ‘<iframe>` its own browsing context (a real per-frame realm). Only the V8 engine (rusty_racer) builds per-frame realms; under QuickJS the frame stays a same-realm fallback we can’t route DOM ops into, so ‘within_frame` is unsupported there.