WebElementLocator

gwen.web.eval.WebElementLocator
class WebElementLocator(ctx: WebContext) extends LazyLogging

Locates web elements using the selenium web driver.

Attributes

Graph
Supertypes
trait LazyLogging
class Object
trait Matchable
class Any

Members list

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

Attributes

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

Attributes

Returns

a list of elements or an empty list if none found

Inherited fields

lazy protected val logger: Logger

Attributes

Inherited from:
LazyLogging