Skip to content

Commit 555fe23

Browse files
authored
Fix last arg getting dropped in WebDriver callNoWait. (#4606)
1 parent 335e6d0 commit 555fe23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages-exp/auth-exp/test/integration/webdriver/util/auth_driver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export class AuthDriver {
8181
}
8282

8383
async callNoWait(fn: string, ...args: unknown[]): Promise<void> {
84-
return this.webDriver.executeScript(`${fn}(${PASSED_ARGS})`, ...args);
84+
return this.webDriver.executeScript(`${fn}(...arguments)`, ...args);
8585
}
8686

8787
async getAuthSnapshot(): Promise<Auth> {

0 commit comments

Comments
 (0)