Compare commits
2 Commits
7fd0eab2c5
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dd6f0a36f8 | ||
|
|
bcdece9941 |
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user