Closed samuelfreiberg closed 1 year ago
I tried browser.maximizeWindow(), but I'm getting an error saying unknown command.
browser.maximizeWindow()
Is there anyway to maximize the app?
Only by executing an AppleScript snippet or locating and clicking the Maximise button as a vanilla user could do it. XCTest does not provide any direct APIs for such action.
I tried
browser.maximizeWindow()
, but I'm getting an error saying unknown command.Is there anyway to maximize the app?