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 198
198
"icon" : " box-open" ,
199
199
"pages" : [
200
200
" examples/apps/ad-use" ,
201
- " examples/apps/vibetest-use"
201
+ " examples/apps/vibetest-use" ,
202
+ " examples/apps/news-use"
202
203
]
203
204
}
204
205
]
Original file line number Diff line number Diff line change @@ -32,7 +32,13 @@ pip install -U browser-use
32
32
33
33
Export your Gemini API key , get it from : [Google AI Studio ](https :// makersuite.google.com/app/apikey)
34
34
` ` ` 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
36
42
` ` `
37
43
38
44
## 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
25
25
## Quick Start
26
26
27
27
``` 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
29
34
uv venv --python 3.11
30
35
source .venv/bin/activate
31
36
32
- # 2 . Install project
37
+ # 3 . Install project
33
38
uv pip install -e .
34
39
35
- # 3 . Install browser runtime once
40
+ # 4 . Install browser runtime once
36
41
playwright install chromium --with-deps --no-shell
37
42
```
38
43
Original file line number Diff line number Diff line change @@ -40,10 +40,10 @@ def setup_environment(debug: bool):
40
40
41
41
from browser_use import Agent , BrowserSession , ChatGoogle
42
42
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'
44
44
45
45
if 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' )
47
47
print (' You can get an API key at: https://makersuite.google.com/app/apikey' )
48
48
print (" Then run: export GEMINI_API_KEY='your-api-key-here'" )
49
49
print ()
You can’t perform that action at this time.
0 commit comments