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

Method get_window_rect

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

Source from the content-addressed store, hash-verified

3593 return self.driver.get_screen_rect()
3594
3595 def get_window_rect(self):
3596 self.__check_scope()
3597 if self.__is_cdp_swap_needed():
3598 return self.cdp.get_window_rect()
3599 self._check_browser()
3600 return self.driver.get_window_rect()
3601
3602 def get_window_size(self):
3603 self.__check_scope()

Callers 1

get_gui_element_rectMethod · 0.95

Calls 3

__check_scopeMethod · 0.95
__is_cdp_swap_neededMethod · 0.95
_check_browserMethod · 0.95

Tested by

no test coverage detected