base_control¶
BaseControl(browser, container)
¶
Bases: BaseComponent
flowchart TD
pytest_splunk_addon_ui_smartx.components.controls.base_control.BaseControl[BaseControl]
pytest_splunk_addon_ui_smartx.components.base_component.BaseComponent[BaseComponent]
pytest_splunk_addon_ui_smartx.components.base_component.BaseComponent --> pytest_splunk_addon_ui_smartx.components.controls.base_control.BaseControl
click pytest_splunk_addon_ui_smartx.components.controls.base_control.BaseControl href "" "pytest_splunk_addon_ui_smartx.components.controls.base_control.BaseControl"
click pytest_splunk_addon_ui_smartx.components.base_component.BaseComponent href "" "pytest_splunk_addon_ui_smartx.components.base_component.BaseComponent"
Purpose: The base class for the controls present in the entity. It is implemented to simplify accessing of controls.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
browser
|
The instance of the selenium webdriver |
required | |
container
|
The container in which the component is located at. |
required |
Source code in pytest_splunk_addon_ui_smartx/components/controls/base_control.py
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | |
get_input_label()
¶
get field label value
Source code in pytest_splunk_addon_ui_smartx/components/controls/base_control.py
64 65 66 67 68 69 70 71 72 73 74 | |