Skip to content

Commit 08b19bd

Browse files
Correct installation example (#1214)
1 parent 9ab5725 commit 08b19bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/docs/v3/first-steps/installation.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ async function main() {
6969
await page.goto("https://example.com");
7070

7171
// Act on the page
72-
await stagehand.act("Click the sign in button");
72+
await stagehand.act("Click the learn more button");
7373

7474
// Extract structured data
75-
const title = await stagehand.extract("extract the page title", z.string());
75+
const description = await stagehand.extract("extract the description", z.string());
7676

77-
console.log(title);
77+
console.log(description);
7878
await stagehand.close();
7979
}
8080

0 commit comments

Comments
 (0)