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

Support for elements not visible In current viewport #179

Open
ducan-ne opened this issue Dec 14, 2024 · 2 comments
Open

Support for elements not visible In current viewport #179

ducan-ne opened this issue Dec 14, 2024 · 2 comments

Comments

@ducan-ne
Copy link

Midscene is currently limited to interacting with the current viewport, but in real-world scenarios, we need to deal with elements not visible in the current viewport (e.g., elements that need to be revealed through scrolling). Some example cases include long forms or Apple's product pages like https://www.apple.com/iphone-16-pro/. I think using manual code to handle this before using .ai() is not ideal.

Does Midscene have any plans to support this? For reference, here's a similar implementation that handle all elements: https://github.com/browserbase/stagehand

@zhoushaw
Copy link
Member

We are thinking about the way we interact with ai to send data, and we will be more flexible in the future, and maybe we can better handle problems like yours

@zhoushaw
Copy link
Member

The new usage is expected to be released in the next two weeks

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

2 participants