Selenium Java to maximize the browser window and get its properties
KW.java
importorg.openqa.selenium.WebDriver;importorg.openqa.selenium.chrome.ChromeDriver;classKW{publicstaticvoidmain(String[]args){System.setProperty("webdriver.chrome.driver","/home/kodingwindow/drivers/chromedriver");WebDriverdriver=newChromeDriver();driver.manage().window().maximize();//maximize the browser window//driver.manage().window().fullscreen();System.out.println(driver.manage().window().getSize());System.out.println(driver.manage().window().getPosition());driver.get("https://kodingwindow.com/testapp/");driver.close();}}
Dear User, Thank you for visitng Kodingwindow. If you are interested in technical articles, latest technologies, and our journey further, please follow us on LinkedIn.
Dear User, We are grateful for your interest in the Kodingwindow Android app. We intend to soon make it available on the Google Play Store. Currently, Android versions 10 and up require manual apk installations. Would you like to get the app?