Class: OnlyofficeDocumentserverTestingFramework::HomeTab
- Defined in:
- lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_editor/doc_editor_top_toolbar/home_tab.rb
Overview
Class for Home tab actions
Instance Method Summary collapse
-
#initialize(instance, tab_xpath: '//a[@data-tab="home"]/..', tab_name: 'Home') ⇒ HomeTab
constructor
A new instance of HomeTab.
Methods inherited from EditorTab
#active?, #click, #close_tooltips, #double_click, #open, #present?
Methods included from SeleniumWrapper
#button_disabled?, #button_menu_active?, #button_menu_open?, #button_pressed?, #click_on_button, #click_on_displayed_button, #click_on_of_several_by_display_button, #frame_count_addition, #get_attribute, #line_checked?, #line_enabled?, #menu_disabled?, #remove_element, #select_frame, #selenium_functions, #visible?
Methods included from SeleniumWrapperJsErrors
#console_errors, #error_ignored?, #fail_if_console_error, #ignored_errors
Constructor Details
#initialize(instance, tab_xpath: '//a[@data-tab="home"]/..', tab_name: 'Home') ⇒ HomeTab
Returns a new instance of HomeTab.
9 10 11 12 13 14 |
# File 'lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_editor/doc_editor_top_toolbar/home_tab.rb', line 9 def initialize(instance, tab_xpath: '//a[@data-tab="home"]/..', tab_name: 'Home') super @instance = instance @xpath_insert_tab = tab_xpath @tab_name = tab_name end |