# File lib/celerity/xpath_support.rb, line 16 def element_by_xpath(xpath) assert_exists obj = @page.getFirstByXPath(xpath) element_from_dom_node(obj, ":xpath and #{xpath.inspect}") end