Open
Description
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:
- Create an element similar to Container which represents an iframe with subelements.
- If we interact with an element in a iframe it should automatically switch to the iframe.
- 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.