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

Failed to initialize Playwright browser: BrowserType.launch: Executable doesn't exist #165

Open
jeffscottward opened this issue Jan 26, 2025 · 1 comment

Comments

@jeffscottward
Copy link

jeffscottward commented Jan 26, 2025

Can't find Chromium browser when running agent

@jeffscottward jeffscottward changed the title ERROR [src.browser.custom_browser] Failed to initialize Playwright browser: BrowserType.launch: Executable does Failed to initialize Playwright browser: BrowserType.launch: Executable doesn't exist Jan 26, 2025
@thiagocrd
Copy link

I'm getting the same error when trying to run the agent with "Use Own Browser" disabled.
It's trying to open Chromium 1148. The ms-playwright folder has Chromium 1155 (most recent) instead.

File "C:\Users\___\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11\LocalCache\local-packages\Python311\site-packages\playwright\_impl\_connection.py", line 528, in wrap_api_call
    raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None
playwright._impl._errors.Error: BrowserType.launch: Executable doesn't exist at C:\Users\___\AppData\Local\ms-playwright\chromium-1148\chrome-win\chrome.exe

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

No branches or pull requests

2 participants