mirror of
https://github.com/appium/appium.git
synced 2026-05-24 21:08:51 -05:00
fix(appium): Do not update BiDi commands for drivers which don't support it (#20879)
This commit is contained in:
@@ -344,7 +344,9 @@ class AppiumDriver extends DriverCore {
|
||||
|
||||
// We also want to assign any new Bidi Commands that the driver has specified, including all
|
||||
// the standard bidi commands
|
||||
driverInstance.updateBidiCommands(InnerDriver.newBidiCommands ?? {});
|
||||
if (_.isFunction(driverInstance.updateBidiCommands)) {
|
||||
driverInstance.updateBidiCommands(InnerDriver.newBidiCommands ?? {});
|
||||
}
|
||||
|
||||
if (!_.isEmpty(this.args.denyInsecure)) {
|
||||
this.log.info('Explicitly preventing use of insecure features:');
|
||||
|
||||
Reference in New Issue
Block a user