SeleniumLibrary icon indicating copy to clipboard operation
SeleniumLibrary copied to clipboard

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

Open paguilera opened this issue 8 months ago • 0 comments

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.

paguilera avatar Jun 13 '24 19:06 paguilera