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

Method __get_y_scroll_offset

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

Source from the content-addressed store, hash-verified

749 return x_scroll_offset or 0
750
751 def __get_y_scroll_offset(self):
752 y_scroll_offset = self.loop.run_until_complete(
753 self.page.evaluate("window.pageYOffset")
754 )
755 return y_scroll_offset or 0
756
757 def tile_windows(self, windows=None, max_columns=0):
758 """Tile windows and return the grid of tiled windows."""

Callers 3

__flashMethod · 0.95
flashMethod · 0.95
highlightMethod · 0.95

Calls 1

evaluateMethod · 0.45

Tested by

no test coverage detected