List of usage examples for org.openqa.selenium.remote RemoteWebElement findElementById
@Override
public WebElement findElementById(String using)
From source file:com.opera.core.systems.FindElementsTest.java
License:Apache License
@Test public void testElementId() throws Exception { RemoteWebElement contain = (RemoteWebElement) driver.findElementById("content"); WebElement el = contain.findElementById("local"); assertEquals(el.getText(), "accumsan ante"); }