Scope the reset button to failed accounts
`button.reset_btn` matched the reset control on any account row; qualifying it with `.status-failed` keeps the repeat block from resetting healthy accounts.
This commit is contained in:
+1
-1
@@ -156,7 +156,7 @@ export const FIRMS: Firm[] = [
|
||||
|
||||
{ action: 'repeat', timesFrom: 'count', steps: [
|
||||
// one purchase — the steps you already have
|
||||
{ action: 'click', selector: 'button.reset_btn', label: 'Reset Account' },
|
||||
{ action: 'click', selector: '.status-failed button.reset_btn', label: 'Reset Account' },
|
||||
{ action: 'waitFor', selector: "div.captcha-solver[data-state='ready']", timeoutSeconds: 30, label: 'Wait for the solver' },
|
||||
{ action: 'click', selector: 'div.captcha-solver[data-state="ready"]'},
|
||||
{ action: 'waitFor', selector: "div.captcha-solver[data-state='solved']", timeoutSeconds: 120, label: 'Wait for the challenge' },
|
||||
|
||||
Reference in New Issue
Block a user