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 error: name 'browser_class' is not defined #1147

Merged
merged 1 commit into from
Mar 26, 2025

Conversation

vikingden8
Copy link
Contributor

@vikingden8 vikingden8 commented Mar 26, 2025

When I first tried to run examples/simple.py,there is an error:Failed to initialize Playwright browser: name 'browser_class' is not defined

This PR fixes the error.

@CLAassistant
Copy link

CLAassistant commented Mar 26, 2025

CLA assistant check
All committers have signed the CLA.

@ml5ah
Copy link
Contributor

ml5ah commented Mar 26, 2025

Perhaps, there needs to be a guideline to update the version when making bug fixes or adding features.
Otherwise, the same version (in this case 0.1.40) will have different behaviors based on when the library is installed.

@pirate
Copy link
Member

pirate commented Mar 26, 2025

ah yes sorry I cherry picked some and left off the commit that fixed that, thanks for catching.

I just went through a huge backlog of stale PRs and I'm merging and fixing actively. If you're looking for a specific version like 0.1.40 you should be using a release tag though, not a moving target like main.

@pirate pirate merged commit 083ced0 into browser-use:main Mar 26, 2025
1 check passed
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.

4 participants