Skip to content

Commit 143d677

Browse files
feat(api): manual updates
1 parent f2d0690 commit 143d677

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
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: 7
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fstagehand-2c88c6d890406ff8a5f1bca692264fb9af4bc4fe64df0986e06d3386fc6d6fcb.yml
33
openapi_spec_hash: dc6ea17f8152708dc0a390c7f86b1a5d
4-
config_hash: b01f15c540ab2c92808c2bba96368631
4+
config_hash: bdeeac521c2cf3846aec9f75cb681d97

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ import com.browserbase.api.models.sessions.SessionActResponse;
5656
StagehandClient client = StagehandOkHttpClient.fromEnv();
5757

5858
SessionActParams params = SessionActParams.builder()
59-
.sessionId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
59+
.sessionId("00000000-your-session-id-000000000000")
6060
.input("click the first link on the page")
6161
.build();
6262
SessionActResponse response = client.sessions().act(params);
@@ -162,7 +162,7 @@ import java.util.concurrent.CompletableFuture;
162162
StagehandClient client = StagehandOkHttpClient.fromEnv();
163163

164164
SessionActParams params = SessionActParams.builder()
165-
.sessionId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
165+
.sessionId("00000000-your-session-id-000000000000")
166166
.input("click the first link on the page")
167167
.build();
168168
CompletableFuture<SessionActResponse> response = client.async().sessions().act(params);
@@ -182,7 +182,7 @@ import java.util.concurrent.CompletableFuture;
182182
StagehandClientAsync client = StagehandOkHttpClientAsync.fromEnv();
183183

184184
SessionActParams params = SessionActParams.builder()
185-
.sessionId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
185+
.sessionId("00000000-your-session-id-000000000000")
186186
.input("click the first link on the page")
187187
.build();
188188
CompletableFuture<SessionActResponse> response = client.sessions().act(params);
@@ -203,8 +203,8 @@ import com.browserbase.api.models.sessions.SessionStartParams;
203203
import com.browserbase.api.models.sessions.SessionStartResponse;
204204

205205
SessionStartParams params = SessionStartParams.builder()
206-
.browserbaseApiKey("BROWSERBASE_API_KEY")
207-
.browserbaseProjectId("BROWSERBASE_PROJECT_ID")
206+
.browserbaseApiKey("<your API key here>")
207+
.browserbaseProjectId("<your project ID here>")
208208
.build();
209209
HttpResponseFor<SessionStartResponse> response = client.sessions().withRawResponse().start(params);
210210

0 commit comments

Comments
 (0)