24252627282930
} return fluentWebDriver.get(); } protected FluentWebDriver makeFluentWebDriver() { return new FluentWebDriver(getDriverProvider().get()); }
4243444546474849505152
we = mock(WebElement.class); we2 = mock(WebElement.class); we3 = mock(WebElement.class); fwd = new FluentWebDriver(wd, new HighlightOnError(wd){ @Override protected String highlightValue() { return "value"; }
1819202122232425262728
@Test public void url_functionality() { wd = mock(WebDriver.class); fwd = new FluentWebDriver(wd); TestableString ts = fwd.url(); assertThat(ts, notNullValue()); verifyNoMoreInteractions(wd);
@Test public void title_functionality() { wd = mock(WebDriver.class); fwd = new FluentWebDriver(wd); TestableString ts = fwd.title(); assertThat(ts, notNullValue()); verifyNoMoreInteractions(wd);