6 Replies Latest reply on Sep 29, 2016 2:15 PM by Bartosz Majsak

    How  to set browser capabilities in Arquilian

    Paras Vora Newbie

      How to set the default download location  of browser to a custom location in Chrome browser i.e. how to set "download.default_directory" parameter?


      Throwing more light in the discussion, please refer below code,

      DesiredCapabilities caps = DesiredCapabilities.chrome();

      ChromeOptions options = new ChromeOptions();

      Map<String, Object> prefs = new HashMap<String, Object>();

      prefs.put("download.default_directory", "/usr/local/path/to/download/directory");

      options.setExperimentalOption("prefs", prefs);

      caps.setCapability(ChromeOptions.CAPABILITY, options);


      How can in achieve as above through Arquillian?