DecoratedNavigation extends DecoratedChild<WebDriver.Navigation,DecoratedWebDriver> implements WebDriver.Navigation { @Override public void to(String url) { getOriginal().to(url); } DecoratedNavigation(final WebDriver.Navigation navigator, final DecoratedWebDriver driverWrapper); @Override void to(String url); @Override void to(URL url); @Override void back(); @Override void forward(); @Override void refresh();  }
@Test void testToAddressAsString() { verifyFunction($ -> $.to("test")); }
@Test void testToAddressAsUrl() throws MalformedURLException { final URL url = new URL("http: verifyFunction($ -> $.to(url)); }