@@ -56,7 +56,7 @@ $client = new Client(
5656);
5757
5858$response = $client->sessions->act(
59- '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e ',
59+ '00000000-your-session-id-000000000000 ',
6060 input: 'click the first link on the page',
6161);
6262
@@ -81,8 +81,8 @@ use Stagehand\Core\Exceptions\APIConnectionException;
8181
8282try {
8383 $response = $client->sessions->start(
84- browserbaseAPIKey: 'BROWSERBASE_API_KEY ',
85- browserbaseProjectID: 'BROWSERBASE_PROJECT_ID ',
84+ browserbaseAPIKey: '< your API key here > ',
85+ browserbaseProjectID: '< your project ID here > ',
8686 );
8787} catch (APIConnectionException $e) {
8888 echo "The server could not be reached", PHP_EOL;
@@ -130,8 +130,8 @@ $client = new Client(maxRetries: 0);
130130
131131// Or, configure per-request:
132132$result = $client->sessions->start(
133- browserbaseAPIKey: 'BROWSERBASE_API_KEY ',
134- browserbaseProjectID: 'BROWSERBASE_PROJECT_ID ',
133+ browserbaseAPIKey: '< your API key here > ',
134+ browserbaseProjectID: '< your project ID here > ',
135135 requestOptions: RequestOptions::with(maxRetries: 5),
136136);
137137```
@@ -152,8 +152,8 @@ Note: the `extra*` parameters of the same name overrides the documented paramete
152152use Stagehand\RequestOptions;
153153
154154$response = $client->sessions->start(
155- browserbaseAPIKey: 'BROWSERBASE_API_KEY ',
156- browserbaseProjectID: 'BROWSERBASE_PROJECT_ID ',
155+ browserbaseAPIKey: '< your API key here > ',
156+ browserbaseProjectID: '< your project ID here > ',
157157 requestOptions: RequestOptions::with(
158158 extraQueryParams: ['my_query_parameter' => 'value'],
159159 extraBodyParams: ['my_body_parameter' => 'value'],
0 commit comments