public static void main(String[] args) throws Exception { DesiredCapabilities capabillities = DesiredCapabilities.firefox(); capabillities.setCapability("version", "8"); capabillities.setCapability("platform", Platform.WINDOWS); WebDriver driver = new RemoteWebDriver( new URL( "http://*****:*****@hub.testingbot.com:4444/wd/hub"), capabillities); driver.get("http://www.google.com"); WebElement search = driver.findElement(By.name("q")); search.sendKeys("Hello, WebDriver"); search.submit(); System.out.println(driver.getTitle()); driver.quit(); }