Refactor browser agent and update dependencies

- Updated import statements to use 'patchright' instead of 'playwright'.
- Cleaned up the BrowserUseAgent class for better readability.
- Modified README instructions for browser installation.
- Added new entries to .gitignore for PDF files and workflow.
This commit is contained in:
Magnus Müller
2025-05-02 13:21:47 +08:00
parent a1ec7ad012
commit 74bea17eb1
7 changed files with 45 additions and 78 deletions

View File

@@ -68,12 +68,7 @@ uv pip install -r requirements.txt
Install Browsers in Playwright:
You can install specific browsers by running:
```bash
playwright install --with-deps chromium
```
To install all browsers:
```bash
playwright install
patchright install chromium
```
#### Step 4: Configure Environment