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'},