Continuing the discussion from close native window:
take a look here:
i’m using it to login from native window
To Close Native Window we use Robot class using selenium webdriver with java for more details visit on below link. -> Robot Class in Selenium
Below are the features of Robot class in selenium ->
Robot Class can help in transfer/download documents utilizing selenium web driver.
Strategies in Robot Class can be viably used to do the cooperation with popups in Web Applications.
Robot Class can undoubtedly incorporated with current robotization system (watchword, information driven or crossover).