# File lib/celerity/element_locator.rb, line 95 def find_by_xpath(what) what = ".#{what}" if what[0].chr == "/" object = @object.getByXPath(what).to_a.first || return return unless @idents.any? { |id| id.match?(object) } object end