vendredi 1 décembre 2017

How to bring Chrome browser to front and maximize in selenium 3.4?

I tried the following but did'nt work;

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

Could someone help me out.

Aucun commentaire:

Enregistrer un commentaire