Sha256: de6f999786838864998c77940e147b6c5fd4b5f11e0b58eb2c4349ed8b98fefa

Contents?: true

Size: 590 Bytes

Versions: 13

Compression:

Stored size: 590 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
    
    ######################################################################
    # Switches 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

13 entries across 13 versions & 1 rubygems

Version Path
operawatir-0.4.3.pre1-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb
operawatir-0.4.2-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb
operawatir-0.4.1-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb
operawatir-0.4.1.pre7-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb
operawatir-0.4.1.pre6-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb
operawatir-0.4.1.pre5-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb
operawatir-0.4.1.pre4-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb
operawatir-0.4.1.pre3-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb
operawatir-0.4.1.pre2-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb
operawatir-0.4.1.pre1-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb
operawatir-0.4-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb
operawatir-0.3.7.pre2-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb
operawatir-0.3.7.pre1-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb