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

Method get_screen_rect

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

Source from the content-addressed store, hash-verified

3586 return (x, y)
3587
3588 def get_screen_rect(self):
3589 self.__check_scope()
3590 if self.__is_cdp_swap_needed():
3591 return self.cdp.get_screen_rect()
3592 self._check_browser()
3593 return self.driver.get_screen_rect()
3594
3595 def get_window_rect(self):
3596 self.__check_scope()

Callers

nothing calls this directly

Calls 3

__check_scopeMethod · 0.95
__is_cdp_swap_neededMethod · 0.95
_check_browserMethod · 0.95

Tested by

no test coverage detected