lib/watir/ie-class.rb in watir-2.0.0.rc2 vs lib/watir/ie-class.rb in watir-2.0.0.rc3
- old
+ new
@@ -56,9 +56,13 @@
def self.zero_based_indexing
@@zero_based_indexing
end
+ def self.base_index
+ self.zero_based_indexing ? 0 : 1
+ end
+
# Used internally to determine when IE has finished loading a page
READYSTATES = {:complete => 4}
# The default color for highlighting objects as they are accessed.
HIGHLIGHT_COLOR = 'yellow'