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:
desktop.<BrowserApplication> find("//BrowserApplication").maximize();