MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / get_window_position

Method get_window_position

seleniumbase/fixtures/base_case.py:3609–3614  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3607 return self.driver.get_window_size()
3608
3609 def get_window_position(self):
3610 self.__check_scope()
3611 if self.__is_cdp_swap_needed():
3612 return self.cdp.get_window_position()
3613 self._check_browser()
3614 return self.driver.get_window_position()
3615
3616 def set_window_rect(self, x, y, width, height):
3617 self.__check_scope()

Callers 1

set_window_sizeMethod · 0.45

Calls 3

__check_scopeMethod · 0.95
__is_cdp_swap_neededMethod · 0.95
_check_browserMethod · 0.95

Tested by

no test coverage detected