File tree Expand file tree Collapse file tree 4 files changed +19
-7
lines changed
Expand file tree Collapse file tree 4 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 198198 "icon" : " box-open" ,
199199 "pages" : [
200200 " examples/apps/ad-use" ,
201- " examples/apps/vibetest-use"
201+ " examples/apps/vibetest-use" ,
202+ " examples/apps/news-use"
202203 ]
203204 }
204205 ]
Original file line number Diff line number Diff line change @@ -32,7 +32,13 @@ pip install -U browser-use
3232
3333Export your Gemini API key , get it from : [Google AI Studio ](https :// makersuite.google.com/app/apikey)
3434` ` ` bash
35- export GEMINI_API_KEY='your-google-api-key-here'
35+ export GOOGLE_API_KEY='your-google-api-key-here'
36+ ` ` `
37+
38+ Clone the repo , cd to the app
39+ ` ` ` bash
40+ git clone https://github.com/browser-use/browser-use.git
41+ cd browser-use/examples/apps/news-use
3642` ` `
3743
3844## Usage Examples
Original file line number Diff line number Diff line change @@ -25,14 +25,19 @@ Requires **browser-use < v0.5.0** and Playwright Chromium. Currently getti
2525## Quick Start
2626
2727``` bash
28- # 1. Create & activate env
28+
29+ # 1. Clone repo
30+ git clone https://github.com/browser-use/vibetest-use.git
31+ cd vibetest-use
32+
33+ # 2. Create & activate env
2934uv venv --python 3.11
3035source .venv/bin/activate
3136
32- # 2 . Install project
37+ # 3 . Install project
3338uv pip install -e .
3439
35- # 3 . Install browser runtime once
40+ # 4 . Install browser runtime once
3641playwright install chromium --with-deps --no-shell
3742```
3843
Original file line number Diff line number Diff line change @@ -40,10 +40,10 @@ def setup_environment(debug: bool):
4040
4141from browser_use import Agent , BrowserSession , ChatGoogle
4242
43- GEMINI_API_KEY = os .getenv ('GEMINI_API_KEY' ) or os . getenv ( ' GOOGLE_API_KEY' ) or 'xxxx'
43+ GEMINI_API_KEY = os .getenv ('GOOGLE_API_KEY' ) or 'xxxx'
4444
4545if GEMINI_API_KEY == 'xxxx' :
46- print ('⚠️ WARNING: Please set GEMINI_API_KEY or GOOGLE_API_KEY environment variable' )
46+ print ('⚠️ WARNING: Please set GOOGLE_API_KEY environment variable' )
4747 print (' You can get an API key at: https://makersuite.google.com/app/apikey' )
4848 print (" Then run: export GEMINI_API_KEY='your-api-key-here'" )
4949 print ()
You can’t perform that action at this time.
0 commit comments