From 82b98b9d2df260a59f68bd0325e130ec283b56d0 Mon Sep 17 00:00:00 2001 From: Brandon Li Date: Sun, 13 Sep 2026 16:31:04 -0500 Subject: [PATCH] Agree to terms if it didnt work lucid --- lib/automations.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/automations.ts b/lib/automations.ts index 7c505b8..2a32e6e 100644 --- a/lib/automations.ts +++ b/lib/automations.ts @@ -309,6 +309,8 @@ export const FIRMS: Firm[] = [ // second agreement just moves the failure to the // modal-close gate below with a misleading timeout. { action: 'click', selector: 'div#payment > div > div.woocommerce-terms-and-conditions-wrapper > p > label', frame: '#woocommerceModal iframe', label: 'Agree to terms' }, + { action: 'click', selector: '.woocommerce-invalid-required-field input', frame: '#woocommerceModal iframe', skipIfNotFound: true, label: 'Agree to terms if it didnt work' }, + { action: 'click', selector: '.woocommerce-terms-and-conditions-wrapper+p input', frame: '#woocommerceModal iframe', label: 'Agree to refund policy' }, { action: 'click', selector: 'button#place_order', frame: '#woocommerceModal iframe', label: 'Place order' },