Skip to content

Instantly share code, notes, and snippets.

@barancev
Created December 23, 2011 13:45
Show Gist options
  • Save barancev/1514243 to your computer and use it in GitHub Desktop.
Save barancev/1514243 to your computer and use it in GitHub Desktop.
WebDriver driver = new FirefoxDriver();
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
driver.get("http://rap.eclipsesource.com/workbenchdemo/rms");
driver.findElement(By.xpath("//div[text() = 'do it']")).click();
driver.findElement(By.xpath("//div[text() = 'Intro']")).click();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment