I tried to set the desired capabilities for the chrome browser using attach method but unfortunately i am getting error can any one able to support for it?
below was the code sample i am trying to use it give attach application Failure
browser = BrowserFactory.launch(BrowserType.CHROME);
browser = BrowserFactory.attach(new BrowserDescription.Builder().set("download.default_directory", "Path of the directory").build());