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

Fix reddit #866

Merged
merged 5 commits into from
Feb 25, 2025
Merged

Fix reddit #866

merged 5 commits into from
Feb 25, 2025

Conversation

MagMueller
Copy link
Collaborator

This pull request includes several changes to the browser_use module, focusing on enhancing the functionality for analyzing and debugging webpage structures, especially with respect to handling cookie banners and iframes. The most important changes include adding a new method to get a debug view of the page structure, removing special handling for cookie banners, and adding new test cases.

Enhancements to page structure analysis:

  • browser_use/browser/context.py: Added the get_page_structure method to provide a detailed view of the page structure, including handling iframes and skipping certain elements.

Removal of special handling for cookie banners:

New test cases and debugging scripts:

@MagMueller MagMueller merged commit 77d5f2e into main Feb 25, 2025
1 check passed
@MagMueller MagMueller deleted the fix-reddit branch February 25, 2025 15:58
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