Chuchoo Chuchoo - 4 months ago 26
Java Question

how do I pick a link with empty class using cssSelector - Java Selenium

In my Selenium test I need to grab all the links inside a table that has empty class as shown below.

<a class="" href="" data-date="2016-11-18T00:00:00-05:00">18</a>

How do i achieve this using cssSelector ?

Thank You!


You should be able to use "a[class='']".