Appium + Mac2 Driver: Is there a way to Maximize app?

I’m using Appium/WebDriverIO to automate testing for a MacOS application. I’m attempting to programmatically maximize this MacOS app, but I can’t find an API to do so.

With Win32, it’s super easy, all I do is browser.MaximizeApp(). But I’m not finding support for that with the Mac2 driver.

Can anyone shed some light on this? Is it possible? Have you done it? Any ideas? Thanks in advance!

Could try driver.manage().window().maximize():

https://appium.io/docs/en/commands/web/window/maximize-window/

But if that doesn’t work try clicking the green button on upper left or double clicking app’s title bar: