fix(base-driver): ensure caps is defined
MODIFY
packages/base-driver/lib/basedriver/driver.js
packages/base-driver/lib/basedriver/driver.js
@@ -55,8 +55,6 @@ export class BaseDriverCore extends DriverCore {
*/
opts;
- static BASE_DESIRED_CAP_CONSTRAINTS = BASE_DESIRED_CAP_CONSTRAINTS;
-
/**
*
* @param {DriverOpts<C>} opts
@@ -70,6 +68,10 @@ export class BaseDriverCore extends DriverCore {
* blows away {@linkcode DriverCore.opts}.
*/
this.opts = opts;
+
+ this.caps = {};
+
+ this.cliArgs = /** @type {CArgs & ServerArgs} */ ({});
}
/**

fix(base-driver): ensure caps is defined