Sha256: ccf3ce8efd77619aff4a193a8f04edaa5022bebefb0b8eb5886950053601e190

Contents?: true

Size: 588 Bytes

Versions: 1

Compression:

Stored size: 588 Bytes

Contents

module OperaWatir
  class QuickDialogTab < QuickWidget

    # @private
    # Checks the type of the widget is correct
    def correct_type?
      @element.getType == WIDGET_ENUM_MAP[:dialogtab]
    end
    
    ######################################################################
    # Switch to the dialog tab by clicking on it 
    #
    # @raise [DesktopExceptions::WidgetNotVisibleException] if the dialogtab 
    #            is not visible
    #
    def activate_tab_with_click
      click
      
      # No event yet so just cheat and sleep
      sleep(0.1);
    end
  end  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
operawatir-0.3.2-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb