From ba28724952b41ea653830a75efc4c73b234ea354 Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Mon, 12 Jun 2023 14:07:16 +0200 Subject: [PATCH] fix: Locator.scroll in race (#10363) --- packages/puppeteer-core/src/api/Locator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/puppeteer-core/src/api/Locator.ts b/packages/puppeteer-core/src/api/Locator.ts index 40b011b98ac..62f41637a6a 100644 --- a/packages/puppeteer-core/src/api/Locator.ts +++ b/packages/puppeteer-core/src/api/Locator.ts @@ -790,7 +790,7 @@ class RaceLocatorImpl extends Locator { }): Promise { return await this.#runRace( (locator, abortSignal) => { - return locator.hover({ + return locator.scroll({ ...scrollOptions, signal: abortSignal, });