code: private void setTimeoutOnSelenium() {
  		executeCommand("setTimeout", new String[] { "" + this.timeout });
          WebDriver.Timeouts timeouts = getWebDriver().manage().timeouts();
          timeouts.setScriptTimeout(this.timeout, TimeUnit.MILLISECONDS);
          timeouts.pageLoadTimeout(this.timeout, TimeUnit.MILLISECONDS);
  	}
docs: Set the default timeout on the selenium instance.