class SeleniumRecord::Lookup::ClassMethods::RelativePathStrategy

Defines a lookup sequence relative to the xpath of an element present in the selenium object

Public Instance Methods

run() click to toggle source
# File lib/selenium_record/lookup.rb, line 96
def run
  lookup_sequence do
    [send("#{lookup_attributes[:to]}_locator"),
     lookup_attributes[:locator]]
  end
end