Module: Prickle::Capybara::XPath

Defined in:
lib/prickle/capybara/xpath.rb,
lib/prickle/capybara/xpath/expression.rb

Defined Under Namespace

Classes: ContainsValue, Element, Expression, MatchesValue

Class Method Summary collapse

Class Method Details

.for_element_with(type, identifier) ⇒ Object



6
7
8
# File 'lib/prickle/capybara/xpath.rb', line 6

def self.for_element_with type, identifier
  XPath::Element.new(type,identifier).to_s
end