Skip to content

Native Support for iFrames  #227

Open
@renelux

Description

@renelux

Please look at the following proposal for adding support for iFrames to SeLion. We are running into the issue where some pages contain an iframe that we need to interact with. We usually create a separate page object and switch to the frame before interacting with it.

This works but our test cases start to look a little more messy, as we can't rely on all the features of SeLion anymore.

Proposal:

  1. Create an element similar to Container which represents an iframe with subelements.
  2. If we interact with an element in a iframe it should automatically switch to the iframe.
  3. Add the ability to automatically switch back to main window when taking screenshot.

For 2 and 3 the behavior should be configurable so that people can change the behavior to their needs. And this should be supported on a global level and on per iframe object level through Yaml.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions