Class: YuiRestClient::Widgets::Button
- Defined in:
- lib/yui_rest_client/widgets/button.rb
Overview
Class representing a button in UI. It can be YQWizardButton, YPushButton.
Instance Method Summary collapse
-
#click ⇒ Button
Sends action to click the button in UI.
-
#fkey ⇒ Integer
Returns fkey value for the button.
Methods inherited from Base
#action, #collect_all, #debug_label, #enabled?, #exists?, #initialize, #property
Methods included from YuiRestClient::Waitable
Constructor Details
This class inherits a constructor from YuiRestClient::Widgets::Base
Instance Method Details
#click ⇒ Button
Sends action to click the button in UI.
11 12 13 14 |
# File 'lib/yui_rest_client/widgets/button.rb', line 11 def click action(action: Actions::PRESS) self end |
#fkey ⇒ Integer
Returns fkey value for the button.
28 29 30 |
# File 'lib/yui_rest_client/widgets/button.rb', line 28 def fkey property(:fkey) end |