@@ -93,7 +93,11 @@ git clone https://github.com/browserbase/stagehand-python.git
9393cd stagehand-python
9494
9595# Install in editable mode with development dependencies
96- pip install -e .[dev]
96+ pip install -e " .[dev]"
97+
98+ # ## INSTRUCTION TO BE REMOVED BEFORE RELEASE
99+ # install google cua
100+ pip install temp/path-to-the-cua-wheel.wheel
97101```
98102
99103## Requirements
@@ -111,21 +115,21 @@ The main dependencies include:
111115
112116### Development Dependencies
113117
114- The development dependencies are automatically installed when using ` pip install -e .[dev] ` and include:
118+ The development dependencies are automatically installed when using ` pip install -e " .[dev]" ` and include:
115119- pytest, pytest-asyncio, pytest-mock, pytest-cov (testing)
116120- black, isort, ruff (code formatting and linting)
117121- mypy (type checking)
118122- rich (enhanced terminal output)
119123
120124## Environment Variables
121125
122- Before running your script, set the following environment variables:
126+ Before running your script, copy ` .env.example ` to ` .env. ` set the following environment variables:
123127
124128``` bash
125- export BROWSERBASE_API_KEY=" your-api-key"
126- export BROWSERBASE_PROJECT_ID=" your-project-id"
129+ export BROWSERBASE_API_KEY=" your-api-key" # if running remotely
130+ export BROWSERBASE_PROJECT_ID=" your-project-id" # if running remotely
127131export MODEL_API_KEY=" your-openai-api-key" # or your preferred model's API key
128- export STAGEHAND_API_URL=" url-of-stagehand-server"
132+ export STAGEHAND_API_URL=" url-of-stagehand-server" # if running remotely
129133export STAGEHAND_ENV=" BROWSERBASE" # or "LOCAL" to run Stagehand locally
130134```
131135
0 commit comments