Skip to content

Commit 8343303

Browse files
jrupeshamtrack
andauthored
Update src/plugins/auth-providers/index.ts
Co-authored-by: Matthias Rolke <mr.amtrack@gmail.com>
1 parent 13f97ba commit 8343303

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/plugins/auth-providers/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ export class AuthProviders extends BrowserforcePlugin {
8484
const frameOrPage = await this.browserforce.waitForSelectorInFrameOrPage(page, formSelector);
8585
// Update ConsumerSecret if provided
8686
if (authProviderConfig.consumerSecret !== undefined) {
87-
await frameOrPage.locator(CONSUMER_SECRET_SELECTOR).waitFor({ timeout: 10000 });
88-
await frameOrPage.locator(CONSUMER_SECRET_SELECTOR).fill(authProviderConfig.consumerSecret);
87+
await page.locator(CONSUMER_SECRET_SELECTOR).fill(authProviderConfig.consumerSecret);
8988
}
9089

9190
// Update ConsumerKey if provided

0 commit comments

Comments
 (0)