Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Update news-use and vibetest-use documentation for API key and setup instructions

avocardiob8165e0f2b78
diff --git a/docs/examples/apps/news-use.mdx b/docs/examples/apps/news-use.mdx
index bb5e882aa..1968b4ae7 100644
--- a/docs/examples/apps/news-use.mdx
+++ b/docs/examples/apps/news-use.mdx
@@ -32,7 +32,13 @@ pip install -U browser-use
Export your Gemini API key, get it from: [Google AI Studio](https://makersuite.google.com/app/apikey)
```bash
-export GEMINI_API_KEY='your-google-api-key-here'
+export GOOGLE_API_KEY='your-google-api-key-here'
+```
+
+Clone the repo, cd to the app
+```bash
+git clone https://github.com/browser-use/browser-use.git
+cd browser-use/examples/apps/news-use
```
## Usage Examples
diff --git a/docs/examples/apps/vibetest-use.mdx b/docs/examples/apps/vibetest-use.mdx
index 3adbb902d..0235b86b2 100644
--- a/docs/examples/apps/vibetest-use.mdx
+++ b/docs/examples/apps/vibetest-use.mdx
@@ -25,14 +25,19 @@ Requires **browser-use&nbsp; < v0.5.0** and Playwright Chromium. Currently getti
## Quick Start
```bash
-# 1. Create & activate env
+
+# 1. Clone repo
+git clone https://github.com/browser-use/vibetest-use.git
+cd vibetest-use
+
+# 2. Create & activate env
uv venv --python 3.11
source .venv/bin/activate
-# 2. Install project
+# 3. Install project
uv pip install -e .
-# 3. Install browser runtime once
+# 4. Install browser runtime once
playwright install chromium --with-deps --no-shell
```
diff --git a/examples/apps/news-use/news_monitor.py b/examples/apps/news-use/news_monitor.py
index 88c15b2cb..80deb4e00 100755
--- a/examples/apps/news-use/news_monitor.py
+++ b/examples/apps/news-use/news_monitor.py
@@ -40,10 +40,10 @@ setup_environment(args.debug)
from browser_use import Agent, BrowserSession, ChatGoogle
-GEMINI_API_KEY = os.getenv('GEMINI_API_KEY') or os.getenv('GOOGLE_API_KEY') or 'xxxx'
+GEMINI_API_KEY = os.getenv('GOOGLE_API_KEY') or 'xxxx'
if GEMINI_API_KEY == 'xxxx':
- print('⚠️ WARNING: Please set GEMINI_API_KEY or GOOGLE_API_KEY environment variable')
+ print('⚠️ WARNING: Please set GOOGLE_API_KEY environment variable')
print(' You can get an API key at: https://makersuite.google.com/app/apikey')
print(" Then run: export GEMINI_API_KEY='your-api-key-here'")
print()