Open GoogleCodeExporter opened 9 years ago
Original comment by barancev
on 26 Jan 2012 at 9:01
Original comment by dawagner@gmail.com
on 26 Jan 2012 at 6:29
Original comment by kka...@google.com
on 27 Jan 2012 at 10:37
Original comment by kkania@chromium.org
on 13 Mar 2013 at 11:55
Original comment by kkania@chromium.org
on 14 Mar 2013 at 9:21
Original comment by kkania@chromium.org
on 14 Mar 2013 at 9:22
Original comment by kkania@chromium.org
on 14 Mar 2013 at 9:53
Original comment by kkania@chromium.org
on 30 Sep 2013 at 10:52
Original comment by kka...@google.com
on 13 Jan 2014 at 6:16
Original comment by samu...@chromium.org
on 21 Feb 2015 at 12:19
Tried to test same scenario with ChromeOptions and unable to reproduce the
issue.
Two chromedriver instances with the same ChromeOptions specified profile is
initialized without any issue.
Tested in latest version of ChromeDriver(2.15), Chrome(v43.x) and selenium(2.45)
However second instance of chrome do not open intended URL that issue is being
tracked here:- https://code.google.com/p/chromedriver/issues/detail?id=1055#c17
leaving this bug open for now, until next observation.
------------ java ----------
ChromeOptions option = new ChromeOptions();
option.addArguments("--user-data-dir=C:\\Users\\path\\to\\Chrome\\User Data");
option.addArguments("--profile-directory=Profile 1");
org.openqa.selenium.remote.DesiredCapabilities c = org.openqa.selenium.remote.DesiredCapabilities.chrome();
c.setCapability(ChromeOptions.CAPABILITY, option);
WebDriver driver = new ChromeDriver(c);
driver.navigate().to("http://google.com");
org.openqa.selenium.remote.DesiredCapabilities c1 = org.openqa.selenium.remote.DesiredCapabilities.chrome();
c1.setCapability(ChromeOptions.CAPABILITY, option);
WebDriver driver1 = new ChromeDriver(c1); // NO EXCEPTION THROWN HERE
driver1.get("http://google.com");
Original comment by agau...@chromium.org
on 4 Jun 2015 at 11:15
Original issue reported on code.google.com by
bsher...@rhapsody.com
on 25 Jan 2012 at 11:06