Method: Capybara::Node::Simple#path

Defined in:
lib/capybara/node/simple.rb

#pathString

An XPath expression describing where on the page the element can be found

Returns:

  • (String)

    An XPath expression



70
71
72
# File 'lib/capybara/node/simple.rb', line 70

def path
  native.path
end