learn_more¶
LearnMore(browser, container)
¶
Bases: BaseControl
Entity_Component : Learn More
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/learn_more.py
31 32 33 34 35 36 37 38 39 40 41 42 43 |
|
open_link(open_new_tab=True)
¶
Redirects the browser object to the link provided by the container and returns the URL
Source code in pytest_splunk_addon_ui_smartx/components/controls/learn_more.py
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
|
wait_for_tab()
¶
Wait for redirect page title to load.
Source code in pytest_splunk_addon_ui_smartx/components/controls/learn_more.py
74 75 76 77 78 79 80 81 82 |
|
wait_for_url_change(page_url)
¶
Wait for url to be change
Source code in pytest_splunk_addon_ui_smartx/components/controls/learn_more.py
84 85 86 87 88 89 90 91 92 |
|