From 2aeac414e959d11d2fb5c325b0f13bd1d922ec7c Mon Sep 17 00:00:00 2001 From: Navid Pour Date: Sun, 29 Sep 2024 18:38:23 -0700 Subject: [PATCH] cleanup --- evals/index.eval.ts | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/evals/index.eval.ts b/evals/index.eval.ts index 97bead97..797c687f 100644 --- a/evals/index.eval.ts +++ b/evals/index.eval.ts @@ -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",