Module: OperaWatir::ClickableItem
- Included in:
- QuickButton
- Defined in:
- lib/operawatir/clickable_item.rb
Instance Method Summary collapse
-
#close_menu_with_click(menu_name) ⇒ Object
Clicks item and waits for the menu to close.
-
#load_page_with_click ⇒ int
Clicks the button, and waits for loading to finish.
-
#open_menu_with_click(menu_name) ⇒ Object
Clicks the item, and waits for the menu with menu with name menu_name to be shown.
-
#open_window_with_click(win_name) ⇒ int
(also: #open_dialog_with_click)
Clicks the button, and waits for the window with window name win_name to be shown.
Instance Method Details
#close_menu_with_click(menu_name) ⇒ Object
Clicks item and waits for the menu to close
42 43 44 45 46 |
# File 'lib/operawatir/clickable_item.rb', line 42 def () wait_start click () end |
#load_page_with_click ⇒ int
Clicks the button, and waits for loading to finish
12 13 14 15 16 17 |
# File 'lib/operawatir/clickable_item.rb', line 12 def load_page_with_click wait_start click # Just wait for the load wait_for_window_loaded("") end |
#open_menu_with_click(menu_name) ⇒ Object
Clicks the item, and waits for the menu with menu with name menu_name to be shown
60 61 62 63 64 |
# File 'lib/operawatir/clickable_item.rb', line 60 def () wait_start click () end |
#open_window_with_click(win_name) ⇒ int Also known as: open_dialog_with_click
Clicks the button, and waits for the window with window name win_name to be shown
30 31 32 33 34 |
# File 'lib/operawatir/clickable_item.rb', line 30 def open_window_with_click(win_name) wait_start click wait_for_window_shown(win_name) end |