Webdriver CSS locators suddenly stopped working on IE11, while xpath locators do work
<p>Suddenly webdriver CSS locators stopped working in my code. (they were working a few days ago)</p>

<p>When i open up IE 11's  developer tools (By pressing F12 in Internet Explorer) i see a general error saying "
InvalidSelectorError: An invalid or illegal selector was specified"  but it doesn't show me the locator itself</p>

<p>is there a way to test css locators on developer tools,  or to check what is IE seeing ?</p>

<p>the command i pass is very straightforward : </p>

<pre><code>wait.until(ExpectedConditions.presenceOfElementLocated(By.cssSelector("span:contains('Information')")));
</code></pre>