pg: DLC: forgot to await scrollUntilStable, closes #356
This commit is contained in:
parent
23a611a2f1
commit
c87deb393e
1 changed files with 1 additions and 1 deletions
|
|
@ -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());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue