Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jpcaparas/demo-browser-use-agent
https://github.com/jpcaparas/demo-browser-use-agent
Last synced: about 10 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/jpcaparas/demo-browser-use-agent
- Owner: jpcaparas
- Created: 2025-01-06T07:04:17.000Z (15 days ago)
- Default Branch: main
- Last Pushed: 2025-01-06T08:17:00.000Z (15 days ago)
- Last Synced: 2025-01-06T09:27:04.937Z (15 days ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# _Browser use_ browser automation agent setup guide
# Overview
This guide explains how to set up a browser automation agent Browser use, which can automate web interactions using AI.
You can learn more about Browser use on its [GitHub repository](https://github.com/browser-use/browser-use).
# Steps
(Note: YMMV as these changes were done on macOS)
## 1. Activate Virtual Environment
```sh
python3 -m venv venv
```On Windows:
```sh
.\venv\Scripts\activate
```On macOS/Linux:
```sh
source venv/bin/activate
```## 2. Install Requirements
```sh
pip install -r requirements.txt
```## 3. Install Browser Engine
```sh
playwright install
```## 4. Set Environment Variables
Copy the `.env.example` file to an `.env` file and fill in the directives.## 5. Run Example Scripts
```sh
# Run Coursera example
python example-coursera.py# Run other examples by modifying the TASK variable in the script
```## 6. Watch the Agent
The agent will automatically:
- Launch a browser
- Navigate to specified websites
- Interact with pages using AI to complete the given task
- Save interaction history to history.json