Class: GwtWidgets::DialogBox

Inherits:
PageObject::Elements::Div
  • Object
show all
Defined in:
lib/gwt_widgets/dialog_box.rb

Instance Method Summary collapse

Instance Method Details

#captionObject



3
4
5
# File 'lib/gwt_widgets/dialog_box.rb', line 3

def caption
  div_element(:class => 'Caption').text
end

#closeObject



11
12
13
# File 'lib/gwt_widgets/dialog_box.rb', line 11

def close
  button_element(:class => 'gwt-Button', :text => 'Close').click
end

#contentObject



7
8
9
# File 'lib/gwt_widgets/dialog_box.rb', line 7

def content
  div_element(:class => 'dialogContent').text
end