From 3ef948697724eeadfbae04951960b9df323f3d4d Mon Sep 17 00:00:00 2001 From: Brandon Li Date: Thu, 3 Sep 2026 13:20:35 -0500 Subject: [PATCH] Place order lucid button --- lib/automations.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/automations.ts b/lib/automations.ts index 75ad4ae..06e8245 100644 --- a/lib/automations.ts +++ b/lib/automations.ts @@ -309,9 +309,9 @@ export const FIRMS: Firm[] = [ // second agreement just moves the failure to the // modal-close gate below with a misleading timeout. { action: 'click', selector: '.validate-required input[type="checkbox"]:not(:checked)', frame: '#woocommerceModal iframe', label: 'Agree to terms' }, - // Ticking box one can re-render the checkout (update_checkout); - // give it a beat so the second locate sees the settled DOM. + { action: 'click', selector: '.validate-required input[type="checkbox"]:not(:checked):last-child', frame: '#woocommerceModal iframe', label: 'Agree to terms 2' }, + { action: 'click', selector: 'button#place_order', frame: '#woocommerceModal iframe', label: 'Place order' }, { action: 'waitFor', selector: '#woocommerceModal', absent: true, hidden: true, timeoutSeconds: 30, label: 'Wait for the modal to close' },