I am writing web automation to download a file by browser-use
web automation tool that uses LLM as an AI Agent. The download files feature isn't supported by the Browser-use as a built-in functionality. That's why I have a complex code to do that. However, sometimes it works well and downloads the file but sometimes it doesn't.
Here is the log related to the failure time:
INFO [browser_use] BrowserUse logging setup complete with level info
INFO [root] Anonymized telemetry enabled. See for more information.
contexts initial: 0
INFO [agent]