Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

electron driver window maximize selenium webdriver

JavascriptExecutor js = (JavascriptExecutor) driver;  
js.executeScript("require('electron').remote.BrowserWindow.getFocusedWindow().maximize();");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #electron #driver #window #maximize #selenium #webdriver
ADD COMMENT
Topic
Name
4+6 =