Skip to content

Commit

Permalink
fix(leumi): post login (#876)
Browse files Browse the repository at this point in the history
Co-authored-by: Eran Sakal <[email protected]>
  • Loading branch information
esakal and eransakal authored Jul 13, 2024
1 parent 70e2a62 commit 80c6757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scrapers/leumi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ async function navigateToLogin(page: Page): Promise<void> {
async function waitForPostLogin(page: Page): Promise<void> {
await Promise.race([
waitUntilElementFound(page, 'a[title="דלג לחשבון"]', true, 60000),
waitUntilElementFound(page, 'div.main-content', true, 60000),
waitUntilElementFound(page, 'div.main-content', false, 60000),
page.waitForSelector(`xpath//div[contains(string(),"${INVALID_PASSWORD_MSG}")]`),
waitUntilElementFound(page, 'form[action="/changepassword"]', true, 60000), // not sure if they kept this one
]);
Expand Down

0 comments on commit 80c6757

Please sign in to comment.