Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
paguilera opened this issue Jun 13, 2024 · 0 comments

Comments

@paguilera
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant