Class: SeleniumRecord::Lookup::ClassMethods::MatchingStrategy

Inherits:
LookupStrategy
  • Object
show all
Defined in:
lib/selenium_record/lookup.rb

Overview

Defines a lookup sequence matching an element path

Instance Attribute Summary

Attributes inherited from LookupStrategy

#lookup_attributes

Instance Method Summary collapse

Methods inherited from LookupStrategy

#initialize, #lookup_sequence

Constructor Details

This class inherits a constructor from SeleniumRecord::Lookup::ClassMethods::LookupStrategy

Instance Method Details

#runObject



106
107
108
# File 'lib/selenium_record/lookup.rb', line 106

def run
  lookup_sequence { [lookup_attributes[:locator]] }
end