Skip to content

Add ability to scroll to a masquerade component #61

Description

@feathergrass

In Selenide library, in SelenideElement.java, there are the methods to scroll to the element.

  • SelenideElement scrollIntoView(boolean alignToTop);
  • SelenideElement scrollIntoView(String scrollIntoViewOptions);
    (I personally use the first one.)

For a Masquerade component, the methods can be applied if getDelegete() performed before, but it returns SelenideElement and the Component's methods can't be applied after.

What I want is to build lines like this: screen.someButton.scrollIntoView(true).click();
I guess it could be done by adding the methods in com.haulmont.masquerade.base.SelenideElementWrapper.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions