lib/element.rb in gridium-1.1.7 vs lib/element.rb in gridium-1.1.8
- old
+ new
@@ -248,9 +248,19 @@
else
Log.error('[GRIDIUM::Element] Cannot trigger onblur. Element is not present.')
end
end
+ def jquery_click
+ Log.debug("[GRIDIUM::Element] JQuery clickin (#{self.to_s})...")
+ if element.enabled?
+ $verification_passes += 1
+ ElementExtensions.jquery_click(self)
+ else
+ Log.error('[GRIDIUM::Element] Cannot jquery_click. Element is not present.')
+ end
+ end
+
def size
element.size
end
def selected?