Toggle

class pytest_splunk_addon_ui_smartx.components.controls.toggle.Toggle(browser, container)[source]

Bases: pytest_splunk_addon_ui_smartx.components.controls.base_control.BaseControl

Entity_Component : Button

get_value()[source]
Returns the value of the toggle element
return

Str the text for the toggle element

select(value)[source]
Selects the toggle specified
param value

the value to select

return

Bool if successful in selection, else raises an error