File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11configured_endpoints : 7
22openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fstagehand-e6a9dca1a93568e403ac72128d86f30c8c3f1336d4b67017d7e61b1836f10f47.yml
33openapi_spec_hash : ef01e0649bb0e283df0aa81c369649df
4- config_hash : abc9d1eb9779bb5629eaed7074c42809
4+ config_hash : 0f2a6f228fb92683466c107fce3bcd21
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ stagehand = Stagehand::Client.new(
3434 model_api_key: ENV [" MODEL_API_KEY" ] # This is the default and can be omitted
3535)
3636
37- response = stagehand.sessions.act(" c4dbf3a9-9a58-4b22-8a1c-9f20f9f9e123 " , input: " click the first link on the page" )
37+ response = stagehand.sessions.act(" 00000000-your-session-id-000000000000 " , input: " click the first link on the page" )
3838
3939puts (response.data)
4040```
@@ -180,18 +180,18 @@ This library provides comprehensive [RBI](https://sorbet.org/docs/rbi) definitio
180180You can provide typesafe request parameters like so:
181181
182182``` ruby
183- stagehand.sessions.act(" c4dbf3a9-9a58-4b22-8a1c-9f20f9f9e123 " , input: " click the first link on the page" )
183+ stagehand.sessions.act(" 00000000-your-session-id-000000000000 " , input: " click the first link on the page" )
184184```
185185
186186Or, equivalently:
187187
188188``` ruby
189189# Hashes work, but are not typesafe:
190- stagehand.sessions.act(" c4dbf3a9-9a58-4b22-8a1c-9f20f9f9e123 " , input: " click the first link on the page" )
190+ stagehand.sessions.act(" 00000000-your-session-id-000000000000 " , input: " click the first link on the page" )
191191
192192# You can also splat a full Params class:
193193params = Stagehand ::SessionActParams .new (input: " click the first link on the page" )
194- stagehand.sessions.act(" c4dbf3a9-9a58-4b22-8a1c-9f20f9f9e123 " , ** params)
194+ stagehand.sessions.act(" 00000000-your-session-id-000000000000 " , ** params)
195195```
196196
197197### Enums
You can’t perform that action at this time.
0 commit comments