MCPcopy Index your code
hub / github.com/plotly/dash / click_at_coord_fractions

Method click_at_coord_fractions

dash/testing/browser.py:612–617  ·  view source on GitHub ↗
(self, elem_or_selector, fx, fy)

Source from the content-addressed store, hash-verified

610 ), "SVG content should be different after zoom"
611
612 def click_at_coord_fractions(self, elem_or_selector, fx, fy):
613 elem = self._get_element(elem_or_selector)
614
615 ActionChains(self.driver).move_to_element_with_offset(
616 elem, elem.size["width"] * fx, elem.size["height"] * fy
617 ).click().perform()
618
619 def get_logs(self):
620 """Return a list of `SEVERE` level logs after last reset time stamps

Calls 2

_get_elementMethod · 0.95
clickMethod · 0.45