|
15 | 15 | </p>
|
16 | 16 |
|
17 | 17 | <p align="center">
|
18 |
| - <a href="https://pypi.org/project/stagehand-py"> |
| 18 | + <a href="https://pypi.org/project/stagehand"> |
19 | 19 | <picture>
|
20 |
| - <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/pypi/v/stagehand-py.svg?style=for-the-badge" /> |
21 |
| - <img alt="PyPI version" src="https://img.shields.io/pypi/v/stagehand-py.svg?style=for-the-badge" /> |
| 20 | + <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/pypi/v/stagehand.svg?style=for-the-badge" /> |
| 21 | + <img alt="PyPI version" src="https://img.shields.io/pypi/v/stagehand.svg?style=for-the-badge" /> |
22 | 22 | </picture>
|
23 | 23 | </a>
|
24 | 24 | <a href="https://github.com/browserbase/stagehand/tree/main?tab=MIT-1-ov-file#MIT-1-ov-file">
|
@@ -65,7 +65,7 @@ await stagehand.agent.execute("book a reservation for 2 people for a trip to the
|
65 | 65 | Install the Python package via pip:
|
66 | 66 |
|
67 | 67 | ```bash
|
68 |
| -pip install stagehand-py |
| 68 | +pip install stagehand |
69 | 69 | ```
|
70 | 70 | ## Requirements
|
71 | 71 |
|
@@ -135,7 +135,7 @@ def main():
|
135 | 135 | )
|
136 | 136 |
|
137 | 137 | # Initialize Stagehand
|
138 |
| - stagehand = Stagehand(config=config, server_url=os.getenv("STAGEHAND_API_URL")) |
| 138 | + stagehand = Stagehand(config=config, api_url=os.getenv("STAGEHAND_API_URL")) |
139 | 139 | stagehand.init()
|
140 | 140 | print(f"Session created: {stagehand.session_id}")
|
141 | 141 |
|
@@ -185,7 +185,7 @@ async def main():
|
185 | 185 | )
|
186 | 186 |
|
187 | 187 | # Initialize Stagehand
|
188 |
| - stagehand = Stagehand(config=config, server_url=os.getenv("STAGEHAND_API_URL")) |
| 188 | + stagehand = Stagehand(config=config, api_url=os.getenv("STAGEHAND_API_URL")) |
189 | 189 | await stagehand.init()
|
190 | 190 | print(f"Session created: {stagehand.session_id}")
|
191 | 191 |
|
@@ -239,7 +239,7 @@ def main():
|
239 | 239 | )
|
240 | 240 |
|
241 | 241 | # Initialize Stagehand
|
242 |
| - stagehand = Stagehand(config=config, server_url=os.getenv("STAGEHAND_API_URL")) |
| 242 | + stagehand = Stagehand(config=config, api_url=os.getenv("STAGEHAND_API_URL")) |
243 | 243 | stagehand.init()
|
244 | 244 | print(f"Session created: {stagehand.session_id}")
|
245 | 245 |
|
@@ -450,6 +450,7 @@ config = StagehandConfig(
|
450 | 450 | )
|
451 | 451 | ```
|
452 | 452 |
|
| 453 | + |
453 | 454 | ## License
|
454 | 455 |
|
455 | 456 | MIT License (c) 2025 Browserbase, Inc.
|
0 commit comments