All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.pojosontheweb.selenium.groovy.DollrCategory.groovy Maven / Gradle / Ivy

There is a newer version: 2.0.1
Show newest version
package org.pojosontheweb.selenium.groovy

import com.pojosontheweb.selenium.Findr
import org.openqa.selenium.By

@Category(Object)
class DollrCategory {

    Findr.ListFindr $$(String selector) {
        findr().elemList(By.cssSelector(selector))
    }

    Findr.ListFindr $$(Findr f, String selector) {
        f.elemList(By.cssSelector(selector))
    }

    Findr $(String selector) {
        findr().elem(By.cssSelector(selector))
    }

    Findr $(Findr f, String selector) {
        f.elem(By.cssSelector(selector))
    }

    WhereElemCount whereElemCount(int i) {
        new WhereElemCount(i)
    }

    At at(int i) {
        new At(i)
    }

    Closure eval() {
        return { true }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy