I am testing tooltips on my webpage using Selenium WebDriver with Firefox.
I am trying to hover over an element with a tooltip attached. To check if a tooltip is displayed, then hover over another item and check its corresponding tooltip.
element_to_click = claim_section.find_element_by_class_name("arrowBox") hover_mouse = ActionChains(self.driver).move_to_element(element_to_click) hover_mouse.perform()
At any given time, we check only one hint. But when I run this test, the first hint is not hidden. I tried to move another element on the page, but the tooltip remains visible.
I missed any other action here and what are the possible solutions?
source share