mirror of
https://github.com/appium/appium.git
synced 2026-05-02 00:09:28 -05:00
+1
-1
@@ -253,7 +253,7 @@ Appium.prototype.configure = function (args, desiredCaps, cb) {
|
||||
|
||||
try {
|
||||
deviceType = this.getDeviceType(args, desiredCaps);
|
||||
desiredCaps.checkValidity(deviceType, args.enforceStrictCaps);
|
||||
if (!args.launch) desiredCaps.checkValidity(deviceType, args.enforceStrictCaps);
|
||||
} catch (e) {
|
||||
logger.error(e.message);
|
||||
return cb(e);
|
||||
|
||||
Reference in New Issue
Block a user