Ventana del controlador Electron Maximizar Selenium WebDriver

JavascriptExecutor js = (JavascriptExecutor) driver;  
js.executeScript("require('electron').remote.BrowserWindow.getFocusedWindow().maximize();");
Gentle Gnu