diff --git a/lib/basedriver/driver.js b/lib/basedriver/driver.js index 184d688da..55c3b4da3 100644 --- a/lib/basedriver/driver.js +++ b/lib/basedriver/driver.js @@ -64,6 +64,18 @@ class BaseDriver extends MobileJsonWireProtocol { }; } + /** + * This property is used by AppiumDriver to store the data of the + * specific driver sessions. This datacan be later used to adjust + * properties for driver instances running in parallel. + * Override it in inherited driver classes if necessary. + * + * @return {object} Driver properties mapping + */ + get driverData () { + return {}; + } + /* * make eventHistory a property and return a cloned object so a consumer can't * inadvertently change data outside of logEvent