Open GoogleCodeExporter opened 9 years ago
Try chromeDriver 2.9
http://chromedriver.storage.googleapis.com/index.html?path=2.9/
Original comment by ilovegir...@gmail.com
on 2 Apr 2014 at 9:11
nirh@,
Have you tried with chromedriver 2.9?
Chromedriver 2.6.233026 is too old now.
Original comment by st...@chromium.org
on 3 Apr 2014 at 4:50
Original comment by samu...@chromium.org
on 21 Feb 2015 at 12:18
Issue is not reproducible with chromedriver2.41, chrome:v41, Windows 7
Updated expected condition to wait till 'Clear browsing data' button is not
visible
Sample Java code:
System.setProperty("webdriver.chrome.driver","drivers/chromedriver.exe");
ChromeOptions ops = new ChromeOptions();
ops.addArguments("--lang=en");
WebDriver driver = new ChromeDriver(ops);
driver.manage().timeouts().implicitlyWait(1, TimeUnit.MINUTES);
driver.get("chrome://settings/clearBrowserData");
driver.switchTo().frame(driver.findElement(By.xpath("//iframe[@src='chrome://set
tings-frame/clearBrowserData']")));
Select sele = new
Select(driver.findElement(By.id("clear-browser-data-time-period")));
sele.selectByIndex(1);
WebElement elm = driver.findElement(By.id("delete-passwords-checkbox"));
if (!elm.isSelected()) elm.click();
elm = driver.findElement(By.id("delete-form-data-checkbox"));
if (!elm.isSelected()) elm.click();
elm = driver.findElement(By.id("delete-hosted-apps-data-checkbox"));
if (!elm.isSelected()) elm.click();
elm = driver.findElement(By.id("deauthorize-content-licenses-checkbox"));
if (!elm.isSelected()) elm.click();
elm = driver.findElement(By.xpath("//button[@id='clear-browser-data-commit']"));
elm.click();
WebDriverWait wait= new WebDriverWait(driver,60);
wait.until(ExpectedConditions.not(ExpectedConditions.visibilityOf(elm)));
driver.navigate().to("http://www.google.com");
Original comment by ssudunag...@chromium.org
on 27 Mar 2015 at 5:50
Please try with latest versions and let us know if the issue is still
reproducible.
Original comment by ssudunag...@chromium.org
on 30 Mar 2015 at 5:54
Original issue reported on code.google.com by
n...@gigya-inc.com
on 1 Apr 2014 at 9:16