Class: OnlyofficeDocumentserverTestingFramework::DocEditor
- Inherits:
-
Object
- Object
- OnlyofficeDocumentserverTestingFramework::DocEditor
- Defined in:
- lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_editor.rb
Overview
Class for all Doc Editor actions
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(instance) ⇒ DocEditor
constructor
A new instance of DocEditor.
-
#top_toolbar ⇒ DocEditorTopToolbar
Top toolbar.
-
#windows ⇒ DocEditorWindows
Windows of doc editor.
Constructor Details
#initialize(instance) ⇒ DocEditor
Returns a new instance of DocEditor.
9 10 11 |
# File 'lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_editor.rb', line 9 def initialize(instance) @instance = instance end |
Instance Method Details
#top_toolbar ⇒ DocEditorTopToolbar
Returns top toolbar.
14 15 16 |
# File 'lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_editor.rb', line 14 def @top_toolbar ||= DocEditorTopToolbar.new(@instance) end |
#windows ⇒ DocEditorWindows
Returns windows of doc editor.
19 20 21 |
# File 'lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_editor.rb', line 19 def windows @windows ||= DocEditorWindows.new(@instance) end |