From 5368d33338253c7457a3321e7eeb2632957d953c Mon Sep 17 00:00:00 2001 From: Kyle Thornton Date: Tue, 15 Sep 2020 10:26:39 -0400 Subject: [PATCH] focus on correct button --- src/commands/texei/sharingcalc/suspend.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/texei/sharingcalc/suspend.ts b/src/commands/texei/sharingcalc/suspend.ts index d0ca9c4..00d8f17 100644 --- a/src/commands/texei/sharingcalc/suspend.ts +++ b/src/commands/texei/sharingcalc/suspend.ts @@ -85,11 +85,11 @@ export default class Suspend extends SfdxCommand { }); await page.click( - "#gmSect > .pbBody > .pbSubsection > .detailList > tbody > .detailRow > td > .btn" + `#gmSect > .pbBody > .pbSubsection > .detailList > tbody > .detailRow > td > input[name="group_suspend"].btn` ); } else { await page.click( - "#ep > .pbBody > .pbSubsection > .detailList > tbody > .detailRow > td > .btn" + '#ep > .pbBody > .pbSubsection > .detailList > tbody > .detailRow > td > input[name="rule_suspend"].btn' ); }