Skip to content

Elements collection inside class with @Frame annotation isn't working #201

Description

@lyubenkov

Method Elements.getListElement(WebElement el) clears up parent property in el by setting it to null.
That's why the @Frame information is lost in the context if there was one, and there is no call to the GetElementModule.getFrameContext(By frame) method.
As a result all elements in declared Elements collection inside iframe class with @frame annotation couldn't be found in DOM.
Parent property should be saved for all elements inside iframe, because it's necessary to switch into frame to work with internal elements using Selenium.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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