Skip to content

Commit

Permalink
fix: leumi login page
Browse files Browse the repository at this point in the history
  • Loading branch information
eransakal committed Jul 12, 2024
1 parent 85cb0eb commit 691715a
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 691715a

Please sign in to comment.