EmergenceAI / Agent-E

Agent driven automation starting with the web. Discord: https://discord.gg/wgNfmFuqJF
MIT License
333 stars 43 forks source link

[BUG] Windows 10 prompts that Chrome cannot be found after executing the command #59

Open haige268 opened 4 days ago

haige268 commented 4 days ago

image image image I'm a Windows10 computer, and it's configured according to the requirements, but when it runs, it is an error that I can't find chrome, please look at my screenshot, where am I misconfigured? Or is it because the app itself has a problem with Windows 10 compatibility?

teaxio commented 4 days ago

@haige268 thank you for trying this out. Have you tried installing playwright from the steps in the readme? Before I try to dig deeper I wonder if that will help it?

deepak-akkil commented 16 hours ago

Hi @haige268 . There are no known compatibility issues with Windows 10. A big difference I see in your screenshot is "chrome-beta" being the browser type. Playwright has slightly different way of initializing chrome Vs chrome-beta, and today we only support chrome (though it is very easy to make it work with chrome beta or even msedge) . We will make this browser type an env variable in the next release In the meanwhile, you can try the following two options: a) install playwright chrome and do not set the browser_storage_dir to point to that chrome instance. b) change the value "chrome" set as browser type in playwright_manager.py to "chrome-beta" in the line playwright.chromium().launch