Skip to content

Commit 853bafe

Browse files
committed
Update a comment
1 parent 2d9b0de commit 853bafe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1962,6 +1962,8 @@ def hover_on_element(self, selector, by=By.CSS_SELECTOR):
19621962
def hover_and_click(self, hover_selector, click_selector,
19631963
hover_by=By.CSS_SELECTOR, click_by=By.CSS_SELECTOR,
19641964
timeout=settings.SMALL_TIMEOUT):
1965+
""" When you want to hover over an element or dropdown menu,
1966+
and then click an element that appears after that. """
19651967
if self.timeout_multiplier and timeout == settings.SMALL_TIMEOUT:
19661968
timeout = self.__get_new_timeout(timeout)
19671969
hover_selector, hover_by = self.__recalculate_selector(

0 commit comments

Comments
 (0)