Skip to content

Commit

Permalink
pg: DLC: forgot to await scrollUntilStable, closes #356
Browse files Browse the repository at this point in the history
  • Loading branch information
vogler committed Aug 2, 2024
1 parent 23a611a commit c87deb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prime-gaming.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ try {
await loot.waitFor();

process.stdout.write('Loading all DLCs on page...');
scrollUntilStable(() => loot.locator('[data-a-target="item-card"]').count())
await scrollUntilStable(() => loot.locator('[data-a-target="item-card"]').count())

console.log('\nNumber of already claimed DLC:', await loot.locator('p:has-text("Collected")').count());

Expand Down

0 comments on commit c87deb3

Please sign in to comment.