Multi Select
- class pytest_splunk_addon_ui_smartx.components.controls.multi_select.MultiSelect(browser, container)[source]
Bases:
pytest_splunk_addon_ui_smartx.components.controls.base_control.BaseControl
Entity-Component: Multiselect Select Javascript framework: select2 A dropdown which can select more than one values
- deselect(value)[source]
- Remove an item from selected list.
- param value
the value to deselect
- return
Bool returns true if deselect was successful, else raises an exception
- get_values()[source]
- get list selected values
- returns
List of values selected within the multi-select
- list_of_values()[source]
- Get list of possible values to select from dropdown
- returns
List of options within the multi-select dropdown
- search_get_list(value)[source]
- search with the multiselect input and return the list
- param value
string value to search
- returns
list of values