(self)
| 3677 | self.minimize_window() |
| 3678 | |
| 3679 | def reset_window_size(self): |
| 3680 | self.__check_scope() |
| 3681 | if self.__is_cdp_swap_needed(): |
| 3682 | self.cdp.reset_window_size() |
| 3683 | return |
| 3684 | self._check_browser() |
| 3685 | x = settings.WINDOW_START_X |
| 3686 | y = settings.WINDOW_START_Y |
| 3687 | width = settings.CHROME_START_WIDTH |
| 3688 | height = settings.CHROME_START_HEIGHT |
| 3689 | self.set_window_rect(x, y, width, height) |
| 3690 | self.__demo_mode_pause_if_active(tiny=True) |
| 3691 | |
| 3692 | def switch_to_frame(self, frame="iframe", timeout=None, invisible=False): |
| 3693 | """Wait for an iframe to appear, and switch to it. This should be |
nothing calls this directly
no test coverage detected