Skip to content

How to scroll to a specific element in a dynamically loaded list <ul>? #2804

Answered by mdmintz
elnatan2604 asked this question in Q&A
Discussion options

You must be logged in to vote

There's a seleniumbase method: sb.scroll_to_bottom(), which scrolls to the bottom of the page. You might be able to use it in a Python loop so that more elements continue to appear before you reach the element that you want.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@elnatan2604
Comment options

@mdmintz
Comment options

@elnatan2604
Comment options

Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants