To maximize a browser inside a test script, for example when starting to test, you can use the
Maximize method of the
BrowserApplication class.
To maximize your browser, add the following to your test script:
'VB code
With _desktop.BrowserApplication("demo_borland_com")
.Maximize()
End With
// C# code
webBrowser.Maximize();