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