Package com.google.sitebricks.acceptance.page

Examples of com.google.sitebricks.acceptance.page.PageChainPage.enterText()


  public void shouldPassEnteredTextToNextPage() {
    WebDriver driver = AcceptanceTest.createWebDriver();
    PageChainPage page = PageChainPage.open(driver);

    page.enterText(SOME_TEXT);
    page.next();

    // We should now be on the NextPage page
    assert driver.findElement(By.xpath("//div[@class='entry']"))
        .getText()
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.