WebElementLocator

class WebElementLocator(ctx: WebContext) extends LazyLogging

Locates web elements using the selenium web driver.

trait LazyLogging
class Object
trait Matchable
class Any

Value members

Concrete methods

def locate(binding: LocatorBinding): WebElement

Locates a bound web element.

Locates a bound web element.

Value parameters:
binding

the web element binding

Returns:

the found element (or an error if not found)

def locateAll(binding: LocatorBinding): List[WebElement]

Locates a collection of web elements.

Locates a collection of web elements.

Value parameters:
binding

the web element collection binding

Returns:

a list of elements or an empty list if none found

Inherited fields

lazy protected val logger: Logger
Inherited from:
LazyLogging