Every line of 'maximize window selenium' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
81 def maximize_window(self): 82 """Maximize the current window.""" 83 return self._window_command('POST', '/maximize', 'maximize')
439 def maximize(self): 440 if not self.is_maximized: 441 return self._toggle_maximize() 442 return True # already maximized.
116 @keyword 117 def maximize_window(self, locator=None): 118 """Maximizes a window. 119 120 ``locator`` is the locator of the window or a window object (optional). 121 122 If no ``locator`` value is given, the currently attached window is maximized. 123 See `Attach Window` for details about attaching a window and window locator syntax. 124 """ 125 if locator is not None: 126 window = self._get_window(locator) 127 else: 128 window = self.state.window 129 window.DisplayState = DisplayState.Maximized