Sha256: fbe27cd451ad745bcc8b01c0b696667ddcd5b442a1e666dc73692a8a616bae21

Contents?: true

Size: 576 Bytes

Versions: 10

Compression:

Stored size: 576 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

10 entries across 10 versions & 1 rubygems

Version Path
operawatir-0.7.pre4-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb
operawatir-0.7.pre3-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb
operawatir-0.7.pre2-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb
operawatir-0.7.pre1-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb
operawatir-0.6.pre1-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb
operawatir-0.5.1-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb
operawatir-0.5-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb
operawatir-0.5.pre3-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb
operawatir-0.5.pre2-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb
operawatir-0.5.pre1-jruby lib/operawatir/quickwidgets/quick_dialogtab.rb