electron driver window maximize selenium webdriver code example
Example: electron driver window maximize selenium webdriver
JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript("require('electron').remote.BrowserWindow.getFocusedWindow().maximize();");