Example usage for org.openqa.selenium.remote RemoteWebElement findElementById

List of usage examples for org.openqa.selenium.remote RemoteWebElement findElementById

Introduction

In this page you can find the example usage for org.openqa.selenium.remote RemoteWebElement findElementById.

Prototype

@Override
    public WebElement findElementById(String using) 

Source Link

Usage

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");

}