Be more explicit about unrecognized caps
MODIFY
lib/basedriver/driver.js
lib/basedriver/driver.js
@@ -194,7 +194,10 @@ class BaseDriver extends Protocol {
_.keys(this._constraints));
if (extraCaps.length) {
log.warn(`The following capabilities were provided, but are not ` +
- `recognized by appium: ${extraCaps.join(', ')}.`);
+ `recognized by Appium:`);
+ for (const cap of extraCaps) {
+ log.warn(` ${cap}`);
+ }
}
}

Be more explicit about unrecognized caps (#317)