vendor/gems/gems/firewatir-1.2.1/firewatir.rb
#
# Description:
#   Returns the first element that matches the xpath query.
#
# Input:
#   Xpath expression or query.
#
# Output:
#   Element matching the xpath query.
#

Returns the first element that matches the xpath query.

Xpath expression or query.

Element matching the xpath query.
Returns the first element that matches the xpath query . Xpath expression or query . Element matching the xpath query .
def element_by_xpath(xpath)
            temp = Element.new(nil, self)
            element_name = temp.element_by_xpath(self, xpath)
            return element_factory(element_name)
        end
def element_by_xpath ( xpath ) temp = Element . new ( nil , self ) element_name = temp . element_by_xpath ( self , xpath ) return element_factory ( element_name ) end
Description:
Returns the first element that matches the xpath query.
Description : Returns the first element that matches the xpath query .
xpath
<not_specific>