Class: YuiRestClient::Widgets::Richtext
- Defined in:
- lib/yui_rest_client/widgets/richtext.rb
Overview
Class representing a richtext in the UI. It can be YRichText.
Instance Method Summary collapse
-
#click_link(value) ⇒ Richtext
Sends action to click a link inside a richtext control in the UI.
-
#text ⇒ String
Returns text value for the richtext.
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_link(value) ⇒ Richtext
Sends action to click a link inside a richtext control in the UI.
12 13 14 15 |
# File 'lib/yui_rest_client/widgets/richtext.rb', line 12 def click_link(value) action(action: Actions::PRESS, value: value) self end |
#text ⇒ String
Returns text value for the richtext.
31 32 33 |
# File 'lib/yui_rest_client/widgets/richtext.rb', line 31 def text property(:text) end |