message¶
Message(browser, container)
¶
Bases: BaseControl
Entity-Component: Message
Parameters:
Name | Type | Description | Default |
---|---|---|---|
browser |
The selenium webdriver |
required | |
container |
The locator of the container where the control is located in. |
required |
Source code in pytest_splunk_addon_ui_smartx/components/controls/message.py
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
|
get_msg()
¶
Returns the error message :return: Str error message
Source code in pytest_splunk_addon_ui_smartx/components/controls/message.py
50 51 52 53 54 55 |
|
wait_loading()
¶
Wait till the message appears and then disappears :return: Str The text message after waiting
Source code in pytest_splunk_addon_ui_smartx/components/controls/message.py
57 58 59 60 61 62 63 64 65 66 67 |
|
wait_to_display()
¶
Wait till the message appears :return: Str The text message after appearing
Source code in pytest_splunk_addon_ui_smartx/components/controls/message.py
69 70 71 72 73 74 |
|