Nick Sweeting

Results 1264 comments of Nick Sweeting

Instead of run, how about `/etc/sonic/sonic.cfg`? I think it's still config, not runtime state, so something under `/etc/...` makes more sense. It's common to check $XDG-CONFIG too when checking `/etc`,...

Great idea! Could also add a short section to the docs under `customize/system-prompt.mdx` explaining this new feature?

The inheritance is technically unecessary, but helpful because the editor hints help us keep the APIs consistent between the two similar types.

> [!IMPORTANT] > 🙏 Please **go check *right now before submitting* that that you are on the [⬆️ LATEST VERSION](https://github.com/browser-use/browser-use/releases)**. > 🚀 We ship changes every day and we might've...

You have to migrate your code to the new `BrowserSession` API that uses flat [standard playwright arguments](https://playwright.dev/python/docs/api/class-browsertype#browser-type-launch-persistent-context): ```diff - from browser_use.browser import Browser, BrowserConfig + from browser_use.browser import BrowserSession -...

no need to launch the browser manually just use BrowserSession: ```python import logging import os import json import subprocess import requests import time from pydantic import BaseModel from dotenv import...

> Failed to connect to the browser or execute the task: We couldn't connect to 'https://huggingface.co/' to load the files, and couldn't find them in the cached files. Looks unrelated...

This should work fine currently, what do find is missing? We already have many tests in `tests/ci` that re-use a single `BrowserSession` across multiple pytest functions with a fixture.

The issue might be that pytest is trying to run them in parallel, which means they would try to share the same `user_data_dir`, which is not allowed: - https://docs.browser-use.com/customize/real-browser#re-using-a-browser -...