Package org.seleniumhq.selenium.fluent

Examples of org.seleniumhq.selenium.fluent.FluentWebElements$MatchesFirst


    @Test
    public void link_functionality() {

        setupExpecations("a");

        FluentWebElements fe = fwd.link()
                .link(By.xpath("@foo = 'bar'"))
                .link(By.cssSelector("baz"))
                .links();

        assertThat(fe, notNullValue());
View Full Code Here


    @Test
    public void links_functionality() {

        setupExpecations2("a");

        FluentWebElements fe = fwd.link()
                .links(By.name("qux"));

        assertThat(fe, notNullValue());

        verifications2("a");
View Full Code Here

    @Test
    public void label_functionality() {

        setupExpecations("label");

        FluentWebElements fe = fwd.label()
                .label(By.xpath("@foo = 'bar'"))
                .label(By.cssSelector("baz"))
                .labels();

        assertThat(fe, notNullValue());
View Full Code Here

    @Test
    public void labels_functionality() {

        setupExpecations2("label");

        FluentWebElements fe = fwd.label()
                .labels(By.name("qux"));

        assertThat(fe, notNullValue());

        verifications2("label");
View Full Code Here

    @Test
    public void form_functionality() {

        setupExpecations("form");

        FluentWebElements fe = fwd.form()
                .form(By.xpath("@foo = 'bar'"))
                .form(By.cssSelector("baz"))
                .forms();

        assertThat(fe, notNullValue());
View Full Code Here

    @Test
    public void forms_functionality() {

        setupExpecations2("form");

        FluentWebElements fe = fwd.form()
                .forms(By.name("qux"));

        assertThat(fe, notNullValue());

        verifications2("form");
View Full Code Here

    @Test
    public void pre_functionality() {

        setupExpecations("pre");

        FluentWebElements fe = fwd.pre()
                .pre(By.xpath("@foo = 'bar'"))
                .pre(By.cssSelector("baz"))
                .pres();

        assertThat(fe, notNullValue());
View Full Code Here

    @Test
    public void pres_functionality() {

        setupExpecations2("pre");

        FluentWebElements fe = fwd.pre()
                .pres(By.name("qux"));

        assertThat(fe, notNullValue());

        verifications2("pre");
View Full Code Here

TOP

Related Classes of org.seleniumhq.selenium.fluent.FluentWebElements$MatchesFirst

Copyright © 2018 www.massapicom. 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.