Module | Celerity::XpathSupport |
In: |
lib/celerity/xpath_support.rb
|
Module to search by xpath
Get the first element found matching the given XPath.
@param [String] xpath @return [Celerity::Element] An element subclass (or Element if none is found)
Get all the elements matching the given XPath.
@param [String] xpath @return [Array<Celerity::Element>] array of elements