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

Improve Stagehand support for mouse wheel scrollable or dynamic containers #335

Open
farouqaldori opened this issue Dec 24, 2024 · 0 comments

Comments

@farouqaldori
Copy link

Stagehand encounters difficulties when handling containers that are either scrollable or dynamic in nature.

Example use case:

Consider a div that contains a list of messages with infinite scrolling. The goal is to make Stagehand capable of interacting with this type of element, such as scrolling down to load more content and checking for messages or conditions dynamically.

This seems to be a tricky scenario to address. Are there any suggestions or approaches we could take to handle this effectively?

Expected behavior:
Stagehand should be able to handle:

  • Scrolling down to load additional content dynamically.
  • Detecting and interacting with elements that appear as a result of the scrolling.

Actual behavior:
Stagehand struggles to handle these scenarios effectively.

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