Skip to content

Enhancement Request: Keyword to control the speed when scrolling an element into view #1910

@paguilera

Description

@paguilera

Creating this ticket at Ed's request. Bringing over the Slack communication.

Is there a way in Selenium Library to control the speed used to scroll an element into view?

More info: We have an iFrame that has a button that doesn't enable until a user scrolls to the bottom of the content. The button "fills" a progress bar as the user scrolls. When using Scroll to Element we drop to the bottom too quickly for the button to enable.

Follow up: we ended up using a Javascript call to use scrollIntoView with smooth behavior to get this to work as needed. Still curious if there's a Keyword approach that would do the same or similar, but no pressing need now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions