Skip to content

Using magic_test with iframes on Cuprite #63

@rubendinho

Description

@rubendinho

When I try to run a debug session with magic test, I get this error when trying to run any Capybara functions inside the context of an iframe.

Ferrum::NoExecutionContextError: There's no context available
from /Users/ruben/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/ferrum-0.11/lib/ferrum/frame.rb:52:in `execution_id'
within_iframe id: 'my-iframe-id' do 
  # do anything
end

This error does not occur outside of magic test session. I've configured my driver per the instructions in the wiki and #11

Are there any known issues with this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions