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

Method get_screen_rect

seleniumbase/core/sb_cdp.py:1501–1505  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1499 return self.loop.run_until_complete(self.page.evaluate(js_code))
1500
1501 def get_screen_rect(self):
1502 coordinates = self.loop.run_until_complete(
1503 self.page.js_dumps("window.screen")
1504 )
1505 return coordinates
1506
1507 def get_window_rect(self):
1508 coordinates = {}

Callers

nothing calls this directly

Calls 1

js_dumpsMethod · 0.45

Tested by

no test coverage detected