cfme.web_ui.history module¶
Module handling the history button.
var HISTORY_ITEMS: | |
---|---|
Locator that finds all the history items from dropdown | |
var SINGLE_HISTORY_BUTTON: | |
Locator that finds the history button if it is without the dropdown. |
-
cfme.web_ui.history.
any_history_present
()[source]¶ Returns if the single history button or the dropdown is present.
-
cfme.web_ui.history.
dropdown_history_items
()[source]¶ Returns a list of strings representing the items from dropdown. Empty if not present
-
cfme.web_ui.history.
history_items_present
()[source]¶ Checks if the history items are present, returns bool
-
cfme.web_ui.history.
select_history_item
(text)[source]¶ Handles selecting the history item by text using the toolbar module.
-
cfme.web_ui.history.
select_nth_history_item
(n)[source]¶ Handles selecting the history items by the position. 0 is the latest (top one).
Returns the textual contents of the single history button. If not present, None is returned.
Checks if the single history button is present, returns bool