base_control¶
BaseControl(browser, container)
¶
Bases: 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 |
|