vendor/gems/gems/firewatir-1.2.1/firewatir.rb
#
# Description:
#   Returns the array of elements that matches the xpath query.
#
# Input:
#   Xpath expression or query.
#
# Output:
#   Array of elements matching xpath query.
#

Returns the array of elements that matches the xpath query.

Xpath expression or query.

Array of elements matching xpath query.
Returns the array of elements that matches the xpath query . Xpath expression or query . Array of elements matching xpath query .
def elements_by_xpath(xpath)
            element = Element.new(nil, self)
            elem_names = element.elements_by_xpath(self, xpath)
            a = elem_names.inject([]) {|elements,name| elements << element_factory(name)}
        end
def elements_by_xpath ( xpath ) element = Element . new ( nil , self ) elem_names = element . elements_by_xpath ( self , xpath ) a = elem_names . inject ( [ ] ) { | elements , name | elements << element_factory ( name ) } end
Description:
Returns the array of elements that matches the xpath query.
Description : Returns the array of elements that matches the xpath query .
xpath
<not_specific>