mirror of
https://github.com/appium/appium.git
synced 2026-05-11 21:39:45 -05:00
fix(appium): add await for async function (#20974)
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user