From 27a61fd25cdecc7bc7b8df602ffa584f521d7e36 Mon Sep 17 00:00:00 2001 From: Brandon Li Date: Sun, 30 Aug 2026 19:25:59 -0500 Subject: [PATCH] Wait for the form but with an actual selector --- lib/automations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/automations.ts b/lib/automations.ts index 3185823..94aa0a3 100644 --- a/lib/automations.ts +++ b/lib/automations.ts @@ -142,7 +142,7 @@ export const FIRMS: Firm[] = [ // every site build, so they are not safe to select on. { action: 'click', selector: 'a.add_account_btn', label: 'Open Add Account' }, - { action: 'wait', seconds: 2, label: 'Wait for the form' }, + { action: 'waitFor', selector: 'div.account_types:nth-child(3) > div[role="radiogroup"] > div > div:nth-child(2)', timeoutSeconds: 30, label: 'Wait for form' }, { action: 'click', selector: 'div.account_types:nth-child(3) > div[role="radiogroup"] > div > div:nth-child(2)'}, { action: 'click', selector: 'div.account_types:nth-child(7) span:last-child'}, { action: 'click', selector: 'div.summary_section div.MuiTextField-root input'},