This method clicks on a list of elements in succession. @Params selectors_list - The list of selectors to click on. by - The type of selector to search by (Default: "css selector"). timeout - How long to wait for the selector to be visible. spacing - The amoun
(
self, selectors_list, by="css selector", timeout=None, spacing=0
)
| 867 | self.__extra_actions.append(action) |
| 868 | |
| 869 | def click_chain( |
| 870 | self, selectors_list, by="css selector", timeout=None, spacing=0 |
| 871 | ): |
| 872 | """This method clicks on a list of elements in succession. |
| 873 | @Params |
| 874 | selectors_list - The list of selectors to click on. |
| 875 | by - The type of selector to search by (Default: "css selector"). |
| 876 | timeout - How long to wait for the selector to be visible. |
| 877 | spacing - The amount of time to wait between clicks (in seconds).""" |
| 878 | self.__check_scope() |
| 879 | if not timeout: |
| 880 | timeout = settings.SMALL_TIMEOUT |
| 881 | if self.timeout_multiplier and timeout == settings.SMALL_TIMEOUT: |
| 882 | timeout = self.__get_new_timeout(timeout) |
| 883 | for selector in selectors_list: |
| 884 | self.click(selector, by=by, timeout=timeout) |
| 885 | if spacing > 0: |
| 886 | time.sleep(spacing) |
| 887 | |
| 888 | def update_text( |
| 889 | self, selector, text, by="css selector", timeout=None, retry=False |
nothing calls this directly
no test coverage detected