Skip to content

Commit c6c0858

Browse files
feat: Removed MCP from readme for now
1 parent c36aaaf commit c6c0858

File tree

3 files changed

+13
-66
lines changed

3 files changed

+13
-66
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 8
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fstagehand-8fbb3fa8f3a37c1c7408de427fe125aadec49f705e8e30d191601a9b69c4cc41.yml
33
openapi_spec_hash: 48b4dfac35a842d7fb0d228caf87544e
4-
config_hash: 242651c4871c2869ba3c2e3d337505b9
4+
config_hash: 7386d24e2f03a3b2a89b3f6881446348

README.md

Lines changed: 11 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,14 @@
1-
<div id="toc" align="center" style="margin-bottom: 0;">
2-
<ul style="list-style: none; margin: 0; padding: 0;">
3-
<a href="https://stagehand.dev">
4-
<picture>
5-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/browserbase/stagehand/main/media/dark_logo.png" />
6-
<img alt="Stagehand" src="https://raw.githubusercontent.com/browserbase/stagehand/main/media/light_logo.png" width="200" style="margin-right: 30px;" />
7-
</picture>
8-
</a>
9-
</ul>
10-
</div>
11-
<p align="center">
12-
<strong>The AI Browser Automation Framework</strong><br>
13-
<a href="https://docs.stagehand.dev/v3/sdk/ruby">Read the Docs</a>
14-
</p>
15-
16-
<p align="center">
17-
<a href="https://github.com/browserbase/stagehand/tree/main?tab=MIT-1-ov-file#MIT-1-ov-file">
18-
<picture>
19-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/browserbase/stagehand/main/media/dark_license.svg" />
20-
<img alt="MIT License" src="https://raw.githubusercontent.com/browserbase/stagehand/main/media/light_license.svg" />
21-
</picture>
22-
</a>
23-
<a href="https://stagehand.dev/discord">
24-
<picture>
25-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/browserbase/stagehand/main/media/dark_discord.svg" />
26-
<img alt="Discord Community" src="https://raw.githubusercontent.com/browserbase/stagehand/main/media/light_discord.svg" />
27-
</picture>
28-
</a>
29-
</p>
30-
31-
<p align="center">
32-
<a href="https://trendshift.io/repositories/12122" target="_blank"><img src="https://trendshift.io/api/badge/repositories/12122" alt="browserbase%2Fstagehand | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
33-
</p>
34-
35-
<p align="center">
36-
If you're looking for other languages, you can find them
37-
<a href="https://docs.stagehand.dev/v3/first-steps/introduction"> here</a>
38-
</p>
39-
40-
<div align="center" style="display: flex; align-items: center; justify-content: center; gap: 4px; margin-bottom: 0;">
41-
<b>Vibe code</b>
42-
<span style="font-size: 1.05em;"> Stagehand with </span>
43-
<a href="https://director.ai" style="display: flex; align-items: center;">
44-
<span>Director</span>
45-
</a>
46-
<span> </span>
47-
<picture>
48-
<img alt="Director" src="https://raw.githubusercontent.com/browserbase/stagehand/main/media/director_icon.svg" width="25" />
49-
</picture>
50-
</div>
51-
52-
## What is Stagehand?
53-
54-
Stagehand is a browser automation framework used to control web browsers with natural language and code. By combining the power of AI with the precision of code, Stagehand makes web automation flexible, maintainable, and actually reliable.
55-
56-
## Why Stagehand?
57-
58-
Most existing browser automation tools either require you to write low-level code in a framework like Selenium, Playwright, or Puppeteer, or use high-level agents that can be unpredictable in production. By letting developers choose what to write in code vs. natural language (and bridging the gap between the two) Stagehand is the natural choice for browser automations in production.
59-
60-
1. **Choose when to write code vs. natural language**: use AI when you want to navigate unfamiliar pages, and use code when you know exactly what you want to do.
61-
62-
2. **Go from AI-driven to repeatable workflows**: Stagehand lets you preview AI actions before running them, and also helps you easily cache repeatable actions to save time and tokens.
63-
64-
3. **Write once, run forever**: Stagehand's auto-caching combined with self-healing remembers previous actions, runs without LLM inference, and knows when to involve AI whenever the website changes and your automation breaks.
1+
# Stagehand Ruby API library
2+
3+
The Stagehand Ruby library provides convenient access to the Stagehand REST API from any Ruby 3.2.0+ application. It ships with comprehensive types & docstrings in Yard, RBS, and RBI – [see below](https://github.com/browserbase/stagehand-ruby#Sorbet) for usage with Sorbet. The standard library's `net/http` is used as the HTTP transport, with connection pooling via the `connection_pool` gem.
4+
5+
It is generated with [Stainless](https://www.stainless.com/).
6+
7+
## Documentation
8+
9+
Documentation for releases of this gem can be found [on RubyDoc](https://gemdocs.org/gems/stagehand).
10+
11+
The REST API documentation can be found on [docs.stagehand.dev](https://docs.stagehand.dev).
6512

6613
## Installation
6714

lib/stagehand/internal/stream.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Stream
2323
next if consume
2424

2525
case msg
26-
in {data: String => data} if data.start_with?("finished")
26+
in {data: String => data} if data.start_with?("{\"data\":{\"status\":\"finished\"")
2727
consume = true
2828
next
2929
in {data: String => data} if data.start_with?("error")

0 commit comments

Comments
 (0)