Compare commits

...

2 Commits

Author SHA1 Message Date
Valentijn van der Jagt
dd6f0a36f8 whitespace 2026-01-05 12:40:28 +01:00
Valentijn van der Jagt
bcdece9941 added some debugging 2026-01-05 12:35:45 +01:00

View File

@@ -18,7 +18,6 @@ public class BonusManager {
BrowserContext context = browser.newContext(); BrowserContext context = browser.newContext();
Page bonusPagina = context.newPage(); Page bonusPagina = context.newPage();
bonusPagina.navigate("https://www.ah.nl/bonus"); bonusPagina.navigate("https://www.ah.nl/bonus");
TimeUnit.SECONDS.sleep(5); // wait for page to actaully fully load TimeUnit.SECONDS.sleep(5); // wait for page to actaully fully load
@@ -33,6 +32,7 @@ public class BonusManager {
if (bonusItem.category.equals( "etos")) continue; if (bonusItem.category.equals( "etos")) continue;
bonusItems.add(bonusItem); bonusItems.add(bonusItem);
System.out.println("added bonusItem " + bonusItem.title);
} }
} catch (InterruptedException e) { } catch (InterruptedException e) {