Skip to content

Update custom_browser.py #563

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
Open

Conversation

danlinuxza
Copy link

@danlinuxza danlinuxza commented May 5, 2025

Fixed typo with patchright to playwright
That caused a module error not found when trying to start up web-ui

image


Summary by mrge

Fixed a typo in import statements by changing "patchright" to "playwright" to resolve a module not found error when starting the web UI.

Fixed type with patchright to playwright
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link

@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.

mrge found 1 issue across 1 file. View it in mrge.io

@@ -1,17 +1,17 @@
import asyncio
import pdb

from patchright.async_api import Browser as PlaywrightBrowser
from patchright.async_api import (
from playwright.async_api import Browser as PlaywrightBrowser
Copy link

Choose a reason for hiding this comment

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

Inconsistent import changes: imports were updated in custom_browser.py but not in custom_context.py

@warmshao
Copy link
Collaborator

warmshao commented May 5, 2025

Please use patchright install,Browser-use>=0.1.42 now use patchright ,which is faster and more capable of passing anti-bot detection.

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