fix(appium): add await for async function (#20974)

This commit is contained in:
Kazuaki Matsuo
2025-02-10 10:01:24 -08:00
committed by GitHub
parent 0a7490ed53
commit 21e2aabc39
+1 -1
View File
@@ -418,7 +418,7 @@ class AppiumDriver extends DriverCore {
);
// set the New Command Timeout for the inner driver
driverInstance.startNewCommandTimeout();
await driverInstance.startNewCommandTimeout();
// apply initial values to Appium settings (if provided)
if (driverInstance.isW3CProtocol() && !_.isEmpty(w3cSettings)) {