Sha256: 0f102a3a2273523cc463c8fc218b809e959395945e3ec967364189f609a8a1b7
Contents?: true
Size: 747 Bytes
Versions: 13
Compression:
Stored size: 747 Bytes
Contents
module OperaWatir class QuickThumbnail < QuickButton # @private # Checks the type of the widget is correct def correct_type? @element.getType == WIDGET_ENUM_MAP[:thumbnail] end ###################################################################### # Drag and drop this speeddial onto the speed dial tab_target # # @param [QuickThumbnail] Thumbnail to drop this thumbnail on # # @raise [DesktopExceptions::UnknownObjectException] if the target is not a thumbnail # #@private def move_with_drag(tab_target) raise(Exceptions::UnknownObjectException) unless tab_target.type == :thumbnail drag_and_drop_on(tab_target, :center) sleep(0.1) end end end
Version data entries
13 entries across 13 versions & 1 rubygems