Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
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.mdxindex 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-useExport 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 Examplesdiff --git a/docs/examples/apps/vibetest-use.mdx b/docs/examples/apps/vibetest-use.mdxindex 3adbb902d..0235b86b2 100644--- a/docs/examples/apps/vibetest-use.mdx+++ b/docs/examples/apps/vibetest-use.mdx@@ -25,14 +25,19 @@ Requires **browser-use < 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 envuv venv --python 3.11source .venv/bin/activate-# 2. Install project+# 3. Install projectuv pip install -e .-# 3. Install browser runtime once+# 4. Install browser runtime onceplaywright install chromium --with-deps --no-shell```diff --git a/examples/apps/news-use/news_monitor.py b/examples/apps/news-use/news_monitor.pyindex 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()