(self, selector, timeout=None)
| 1615 | return coordinates |
| 1616 | |
| 1617 | def get_element_position(self, selector, timeout=None): |
| 1618 | if not timeout: |
| 1619 | timeout = settings.SMALL_TIMEOUT |
| 1620 | element_rect = self.get_element_rect(selector, timeout=timeout) |
| 1621 | coordinates = {} |
| 1622 | coordinates["x"] = element_rect["x"] |
| 1623 | coordinates["y"] = element_rect["y"] |
| 1624 | return coordinates |
| 1625 | |
| 1626 | def get_gui_element_rect(self, selector, timeout=None): |
| 1627 | """(Coordinates are relative to the screen. Not the window.)""" |
nothing calls this directly
no test coverage detected