message: changed Selenium to a class definition
diff: @@ -129,7 +129,7 @@ function add_sendkeys_key(key, unicodeChar, alias, botKey) {
  build_sendkeys_maps();
  -function Selenium(browserbot) {
  +export default class Selenium {
  /**
  * Defines an object that runs Selenium commands.
  *
  @@ -282,6 +282,7 @@ function Selenium(browserbot) {
  * pattern.
  * </p>
  */
  + constructor(browserbot) {
  this.browserbot = browserbot;
  this.optionLocatorFactory = new OptionLocatorFactory();
  // DGF for backwards compatibility
  @@ -313,6 +314,7 @@ function Selenium(browserbot) {
  });
  }
  }
  +}
  Selenium.DEFAULT_TIMEOUT = 30 * 1000;
  Selenium.DEFAULT_MOUSE_SPEED = 10;
  @@ -340,7 +342,7 @@ Selenium.createForWindow = function(window, proxyInjectionMode) {
  if (!window.location) {
  throw "error: not a window!";
  }
  - return new Selenium(BrowserBot.createForWindow(window, proxyInjectionMode));
  + return Selenium(BrowserBot.createForWindow(window, proxyInjectionMode));
  };
  Selenium.prototype.reset = function() {
  