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

Works for immo24 #884

Merged
merged 1 commit into from
Feb 27, 2025
Merged

Works for immo24 #884

merged 1 commit into from
Feb 27, 2025

Conversation

MagMueller
Copy link
Collaborator

This pull request includes an update to the browser_use/dom/buildDomTree.js file to improve the viewport check logic for DOM elements. The most important changes include an early viewport check, handling of fixed/sticky elements, and ensuring elements have actual dimensions before applying the viewport check.

Improvements to viewport check logic:

@MagMueller MagMueller merged commit c9641cc into main Feb 27, 2025
2 checks passed
@MagMueller MagMueller deleted the extraction/fix-on-top branch February 27, 2025 06:13
AryamanParida pushed a commit to AryamanParida/browser-use that referenced this pull request Mar 7, 2025
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

Successfully merging this pull request may close these issues.

1 participant