Package com.opera.core.systems.testing.drivers

Examples of com.opera.core.systems.testing.drivers.TestDriver.navigate()


    settings.profile().addExtension(oexSource);
    TestDriver driver = new TestDriverBuilder().using(settings).get();

    assertNotNull(driver);
    assertTrue("Expected Opera to run", driver.isRunning());
    driver.navigate().to(pages.oex);

    try {
      // The dummy extension sets a HTML attribute on the <html> element.
      By by = By.cssSelector("html[isoexinstalled759='yes']");
      (new WebDriverWait(driver, 2)).until(ExpectedConditions.presenceOfElementLocated(by));
View Full Code Here


      }
    }

    a.navigate().to(pages.test);
    b.navigate().to(pages.javascript);
    c.navigate().to(pages.keys);

    assertThat(a.getCurrentUrl(), containsString("test.html"));
    assertThat(b.getCurrentUrl(), containsString("javascript.html"));
    assertThat(c.getCurrentUrl(), containsString("keys.html"));
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.