Can't click any buttons inside Chrome history with Selenium WebDriver?
<p>I am trying to delete all of my history, cookies, cache, everything, after the end of all my tests that run. I can get into Chrome's history just fine, but for some reason selenium can't find the element by the ID. I even tried using <code>SendKeys</code> to tab through a few times and press enter but that doesn't work either. </p>

<pre><code>Driver.Keyboard.SendKeys($"{Keys.Control + "h"}");
Thread.Sleep(5000);
Driver.FindElementById("clear-browsing-data").Click();
var checkboxDiv = Driver.FindElementById("clear-data-checkboxes");
List&lt;IWebElement&gt; checkboxes = checkboxDiv.FindElements(By.TagName("input")).ToList();
foreach (IWebElement checkbox in checkboxes)
{
    if (!checkbox.Selected)
    {
        checkbox.Click();
        Thread.Sleep(1000);
    }
}
</code></pre>

<p>(Yes, some of the checking of checking to see if the checkboxes are checked(wow a lot of checks) probably needs some refining, but will address that later)
I can't even simply click on <code>clear-browsing-data</code>. Any ideas why? Or any alternatives to what I am trying to accomplish? Thanks in advance.</p>