1718192021222324252627
@Test public void object_functionality() { setupExpecations("object"); FluentWebElements fe = fwd.object() .object(By.xpath("@foo = 'bar'")) .object(By.cssSelector("baz")) .objects(); assertThat(fe, notNullValue());
3132333435363738394041
@Test public void adresss_functionality() { setupExpecations2("object"); FluentWebElements fe = fwd.object() .objects(By.name("qux")); assertThat(fe, notNullValue()); verifications2("object");
@Test public void img_functionality() { setupExpecations("img"); FluentWebElements fe = fwd.img() .img(By.xpath("@foo = 'bar'")) .img(By.cssSelector("baz")) .imgs(); assertThat(fe, notNullValue());
@Test public void imgs_functionality() { setupExpecations2("img"); FluentWebElements fe = fwd.img() .imgs(By.name("qux")); assertThat(fe, notNullValue()); verifications2("img");
@Test public void option_functionality() { setupExpecations("option"); FluentWebElements fe = fwd.option() .option(By.xpath("@foo = 'bar'")) .option(By.cssSelector("baz")) .options(); assertThat(fe, notNullValue());
@Test public void options_functionality() { setupExpecations2("option"); FluentWebElements fe = fwd.option() .options(By.name("qux")); assertThat(fe, notNullValue()); verifications2("option");
@Test public void header_functionality() { setupExpecations("header"); FluentWebElements fe = fwd.header() .header(By.xpath("@foo = 'bar'")) .header(By.cssSelector("baz")) .headers(); assertThat(fe, notNullValue());
@Test public void headers_functionality() { setupExpecations2("header"); FluentWebElements fe = fwd.header() .headers(By.name("qux")); assertThat(fe, notNullValue()); verifications2("header");
@Test public void span_functionality() { setupExpecations("span"); FluentWebElements fe = fwd.span() .span(By.xpath("@foo = 'bar'")) .span(By.cssSelector("baz")) .spans(); assertThat(fe, notNullValue());
@Test public void spans_functionality() { setupExpecations2("span"); FluentWebElements fe = fwd.span() .spans(By.name("qux")); assertThat(fe, notNullValue()); verifications2("span");