Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(scripts): drop unused appOrigin parameter from signIn

Steven Enamakel05d55f89f983
diff --git a/scripts/debug/web-ui.mjs b/scripts/debug/web-ui.mjs
index 60959785a5..c370080ea2 100644
--- a/scripts/debug/web-ui.mjs
+++ b/scripts/debug/web-ui.mjs
@@ -116,7 +116,7 @@ function loadChromium() {
return chromium;
}
-async function signIn(page, appOrigin) {
+async function signIn(page) {
await page.getByText("Welcome to OpenHuman").waitFor({ timeout: 120_000 });
log("signing in through the GitHub provider button (mock backend)…");
await page.getByRole("button", { name: "GitHub" }).click();
@@ -205,7 +205,7 @@ async function main() {
page.setDefaultNavigationTimeout(120_000);
await page.goto(devConnectUrl(appOrigin, rpcUrl, token));
if (opts.signIn) {
- await signIn(page, appOrigin);
+ await signIn(page);
log(`signed in ${page.url()}`);
}
await screenshot("ready");