Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
navidkpr committed Sep 30, 2024
1 parent ddf3cf7 commit 2aeac41
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions evals/index.eval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,6 @@ const vanta_h = async () => {
return observation === null;
};

const simple_google_search = async () => {
const stagehand = new Stagehand({ env: "LOCAL" });
await stagehand.init();

await stagehand.page.goto("https://www.google.com");

await stagehand.act({
action: 'Search for "OpenAI"',
});

const expectedUrl = "https://www.google.com/search?q=OpenAI";
const currentUrl = await stagehand.page.url();
await stagehand.context.close();

return currentUrl.startsWith(expectedUrl);
};

const simple_google_search = async () => {
const stagehand = new Stagehand({
env: "LOCAL",
Expand Down

0 comments on commit 2aeac41

Please sign in to comment.