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

Method reset_window_size

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

Source from the content-addressed store, hash-verified

1290 return self.__set_window_rect(x, y, width, height, uc_lock=True)
1291
1292 def reset_window_size(self):
1293 x = settings.WINDOW_START_X
1294 y = settings.WINDOW_START_Y
1295 width = settings.CHROME_START_WIDTH
1296 height = settings.CHROME_START_HEIGHT
1297 self.__set_window_rect(x, y, width, height, uc_lock=True)
1298 self.__add_light_pause()
1299
1300 def open_new_window(self, url=None, switch_to=True):
1301 return self.open_new_tab(url=url, switch_to=switch_to)

Callers

nothing calls this directly

Calls 2

__set_window_rectMethod · 0.95
__add_light_pauseMethod · 0.95

Tested by

no test coverage detected