kevin_kapell
8 years agoFrequent Contributor
How do i make a browser window maximized?
How do i make a browser window maximized? Currently when I open the browser (Edge in this particular case) it always opens at the size it was last in when it is closed. Is there a way to force the b...
- 8 years ago
Aliases.browser.BrowserWindow.Maximize();
This assumes that you have such a thing mapped in aliases... basically, off the Sys.Browser() object (https://support.smartbear.com/testcomplete/docs/reference/test-objects/controls/web/general/browser/index.html) , there is a method call to BrowserWindow (https://support.smartbear.com/testcomplete/docs/reference/test-objects/controls/web/general/browser-window/index.html) where you pass in the index of the browser window... if you only have one, that would be BrowserWindow(0). That object then allows you to call the Maximize method.