ChromeDriver in Fullscreen Mode

    ChromeOptions options = new ChromeOptions();
    options.addArguments("--start-fullscreen");
    WebDriver driver = new ChromeDriver(options);

if you use RemoteWebDriver:

    ChromeOptions options = new ChromeOptions();
    options.addArguments("--start-fullscreen");
    DesiredCapabilities capabilities = DesiredCapabilities.chrome();
    capabilities.setCapability(ChromeOptions.CAPABILITY, options);
    Instance = new RemoteWebDriver(new URL(<SeleniumServerURL>), capabilities);

The argument is changed:

ChromeOptions options = new ChromeOptions();
options.addArguments("start-maximized");

Another option is change the startup script of google-chrome, set start-maximized as default.


I was able to solve it using kiosk mode, which keeps the browser in full screen

ChromeOptions options = new ChromeOptions();
options.addArguments("--kiosk");
WebDriver driver = new ChromeDriver(options);