Skip to content

Commit 6c46b0f

Browse files
committed
patch for scroll until text
1 parent 28f71d2 commit 6c46b0f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/testdriver/scroll-until-text.test.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ describe("Scroll Until Text Test", () => {
2626
while (!found && scrollCount < maxScrolls) {
2727
const findResult = await testdriver.find("testdriver socks");
2828
if (findResult) {
29-
found = true;
29+
found = true;
3030
} else {
31-
await testdriver.scroll({ direction: "down" });
32-
scrollCount++;
31+
await testdriver.scroll();
32+
scrollCount++;
3333
}
3434
}
3535

0 commit comments

Comments
 (0)