Method: Celerity.index_offset
- Defined in:
- lib/celerity.rb
.index_offset ⇒ Object
This index_offset attribute controls the indexing used when locating elements by :index or fetching from Celerity::ElementCollections.
By default it is set to 1 for Watir compatibility, but users who use Celerity exlusively may want it set to 0 to make Celerity more consistent with Ruby.
27 28 29 |
# File 'lib/celerity.rb', line 27 def index_offset @index_offset end |