Skip to content

upgrade to bu==0.2.7 #642

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DenGies
Copy link

@DenGies DenGies commented Jun 17, 2025

upgrade to browser-use==0.2.7

Replaced old browser_use.browser.Browser API with new, simplified BrowserProfile and BrowserSession API.
Removed 'save playwright script' feature because of removal in browser-use.


Summary by cubic

Upgraded to browser-use 0.2.7, replacing the old Browser API with the new BrowserProfile and BrowserSession APIs. Removed the "save playwright script" feature due to its removal upstream.

  • Refactors
    • Updated all code to use BrowserProfile and BrowserSession.
    • Removed custom browser/context classes and related logic.
    • Simplified browser session management across agents, controller, web UI, and tests.

@CLAassistant
Copy link

CLAassistant commented Jun 17, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cubic found 1 issue across 7 files. Review it in cubic.dev

React with 👍 or 👎 to teach cubic. Tag @cubic-dev-ai to give specific feedback.

window_size=ViewportSize(width=window_w, height=window_h),
traces_dir=None,
record_video_dir=None,
downloads_path="./tmp/downloads"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The disable_security setting retrieved earlier from browser_config is ignored, so the BrowserProfile is always created with its default security settings. This prevents callers from actually disabling browser security headers as intended.

Suggested change
downloads_path="./tmp/downloads"
downloads_path="./tmp/downloads", disable_security=disable_security

@warmshao
Copy link
Collaborator

why downgrade?

@DenGies
Copy link
Author

DenGies commented Jun 20, 2025

Browser-use 0.2.7 is the latest browser use version (https://github.com/browser-use/browser-use/releases/tag/0.2.7). The new BU Version improved a lot of things like for example scrolling.

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.

3 participants