pg: DLC: forgot to await scrollUntilStable, closes #356

This commit is contained in:
Ralf Vogler 2024-08-02 14:02:33 +02:00
parent 23a611a2f1
commit c87deb393e

View file

@ -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());