code: function (server, options) {
    options = options || {};
    options.maxWaitTime = options.maxWaitTime || 60000;
  
    PromiseChainWebdriver.call(this, Url.parse(server));
    this.modMethods = {};
    this.maxWaitTime = options.maxWaitTime;
    require('./logging').configure(this);
  }
docs: Initialize AppiumDriver object - server: Selenium/Appium test server address - options: extra settings when create AppiumDriver - options.maxWaitTime: timeout value for waiting specific element to display