Full Screen Window In Selenium
Selenium fullscreen() method is used to full screen the browser window. It will perform browser full screen action same as real user full screen the browser window. May be sometimes you need full screen window in your selenium tests at that time this method will be very useful for you.
- fullscreen() method is part of WebDriver.Window interface.
- It's return type is void so it returns nothing.
- It will full screen the browser window.
- Syntax : driver.manage().window().fullscreen();
Below given example will show you how fullscreen() method is used to full screen the window size.