From d97d3aa221d251bfdeedae6310de951c64f73423 Mon Sep 17 00:00:00 2001 From: Brandon Li Date: Sun, 13 Sep 2026 15:22:08 -0500 Subject: [PATCH] Update selector again --- lib/automations.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/automations.ts b/lib/automations.ts index 313c301..aed8cc3 100644 --- a/lib/automations.ts +++ b/lib/automations.ts @@ -308,7 +308,7 @@ export const FIRMS: Firm[] = [ // opt-ins). No skipIfNotFound: silently skipping the // second agreement just moves the failure to the // modal-close gate below with a misleading timeout. - { action: 'click', selector: '.woocommerce-terms-and-conditions-wrapper p input', frame: '#woocommerceModal iframe', label: 'Agree to terms' }, + { 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-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' }, @@ -320,7 +320,7 @@ export const FIRMS: Firm[] = [ ]}, ], }, - ], + ], }, ];