Electron Chromedriver fails to maximize / unmaximize /set window position


I´ve noticed that Chromedriver and Electron Chromedriver fails on maximize / unmaximize / set window position actions.
Does anyone know a possible workaround for it?
I´ve tried to start my packaged app witn --start-maximized flag but it seems to be not supported in Electron. Is there any alternative?