1718192021222324252627
@Test public void link_functionality() { setupExpecations("a"); FluentWebElements fe = fwd.link() .link(By.xpath("@foo = 'bar'")) .link(By.cssSelector("baz")) .links(); assertThat(fe, notNullValue());
3132333435363738394041
@Test public void links_functionality() { setupExpecations2("a"); FluentWebElements fe = fwd.link() .links(By.name("qux")); assertThat(fe, notNullValue()); verifications2("a");
@Test public void label_functionality() { setupExpecations("label"); FluentWebElements fe = fwd.label() .label(By.xpath("@foo = 'bar'")) .label(By.cssSelector("baz")) .labels(); assertThat(fe, notNullValue());
@Test public void labels_functionality() { setupExpecations2("label"); FluentWebElements fe = fwd.label() .labels(By.name("qux")); assertThat(fe, notNullValue()); verifications2("label");
@Test public void form_functionality() { setupExpecations("form"); FluentWebElements fe = fwd.form() .form(By.xpath("@foo = 'bar'")) .form(By.cssSelector("baz")) .forms(); assertThat(fe, notNullValue());
@Test public void forms_functionality() { setupExpecations2("form"); FluentWebElements fe = fwd.form() .forms(By.name("qux")); assertThat(fe, notNullValue()); verifications2("form");
@Test public void pre_functionality() { setupExpecations("pre"); FluentWebElements fe = fwd.pre() .pre(By.xpath("@foo = 'bar'")) .pre(By.cssSelector("baz")) .pres(); assertThat(fe, notNullValue());
@Test public void pres_functionality() { setupExpecations2("pre"); FluentWebElements fe = fwd.pre() .pres(By.name("qux")); assertThat(fe, notNullValue()); verifications2("pre");