message: changed the BrowserBots to es6 classes
diff: @@ -59,7 +59,8 @@ const UIMap = window.UIMap;
  // The window to which the commands will be sent. For example, to click on a
  // popup window, first select that window, and then do a normal click command.
  -let BrowserBot = function(topLevelApplicationWindow) {
  +export default class BrowserBot {
  + constructor(topLevelApplicationWindow) {
  this.topWindow = topLevelApplicationWindow;
  this.topFrame = this.topWindow;
  this.baseUrl = window.location.href;
  @@ -166,7 +167,8 @@ let BrowserBot = function(topLevelApplicationWindow) {
  this.getXPathEngine = function() {
  return this.xpathEvaluator.getCurrentEngine();
  };
  -};
  + }
  +}
  // DGF PageBot exists for backwards compatibility with old user-extensions
  const PageBot = function() {};
  @@ -2457,15 +2459,17 @@ BrowserBot.prototype.getAlertMessage = function() {
  /*****************************************************************/
  /* BROWSER-SPECIFIC FUNCTIONS ONLY AFTER THIS LINE */
  -function MozillaBrowserBot(frame) {
  - BrowserBot.call(this, frame);
  +export class MozillaBrowserBot extends BrowserBot {
  + constructor(frame) {
  + super(frame);
  + }
  }
  -objectExtend(MozillaBrowserBot.prototype, BrowserBot.prototype);
  -function KonquerorBrowserBot(frame) {
  - BrowserBot.call(this, frame);
  +export class KonquerorBrowserBot extends BrowserBot {
  + constructor(frame) {
  + super(frame);
  + }
  }
  -objectExtend(KonquerorBrowserBot.prototype, BrowserBot.prototype);
  KonquerorBrowserBot.prototype.setIFrameLocation = function(iframe, location) {
  // Window doesn't fire onload event when setting src to the current value,
  @@ -2513,19 +2517,21 @@ KonquerorBrowserBot.prototype._isSameDocument = function(originalDocument, curre
  }
  };
  -function SafariBrowserBot(frame) {
  - BrowserBot.call(this, frame);
  +export class SafariBrowserBot extends BrowserBot {
  + constructor(frame) {
  + super(frame);
  + }
  }
  -objectExtend(SafariBrowserBot.prototype, BrowserBot.prototype);
  SafariBrowserBot.prototype.setIFrameLocation = KonquerorBrowserBot.prototype.setIFrameLocation;
  SafariBrowserBot.prototype.setOpenLocation = KonquerorBrowserBot.prototype.setOpenLocation;
  -
  -function OperaBrowserBot(frame) {
  - BrowserBot.call(this, frame);
  +export class OperaBrowserBot extends BrowserBot {
  + constructor(frame) {
  + super(frame);
  + }
  }
  -objectExtend(OperaBrowserBot.prototype, BrowserBot.prototype);
  +
  OperaBrowserBot.prototype.setIFrameLocation = function(iframe, location) {
  if (iframe.src == location) {
  iframe.src = location + "?reload";
  @@ -2534,10 +2540,11 @@ OperaBrowserBot.prototype.setIFrameLocation = function(iframe, location) {
  }
  };
  -function IEBrowserBot(frame) {
  - BrowserBot.call(this, frame);
  +export class IEBrowserBot extends BrowserBot {
  + constructor(frame) {
  + super(frame);
  + }
  }
  -objectExtend(IEBrowserBot.prototype, BrowserBot.prototype);
  IEBrowserBot.prototype._handleClosedSubFrame = function(testWindow, doNotModify) {
  if (this.proxyInjectionMode) {
  