node package manager

webdriverio-jquery

webdriverio-jquery Extended API

webdriverio-jquery extends webdriverio's API with the following commands:

  • find(selector=String)
  • attr(name=String)
  • text()
  • each(iteratorFn=Function)
  • map(iteratorFn=Function)
  • first()

find(selector=string)

Find elements by a CSS selector.

attr(name=string)

Returns attribute for element or group of elements.

text()

Returns text for element or group of elements.

each()

Iterate over each element.

map()

Map over each element.

href()

Alias for attr('href').

first()

Returns the first element of a collection.