Here is the XPath I'm trying to use:
//div[contains(@class='xyz ng-binding ng-scope') and not(contains(@class = 'ng-hide'))]
I'm not sure what the correct syntax for this is. Basically the HTML looks like like:
class="xyz ng-binding ng-scope typeA ng-hide"
class="xyz ng-binding ng-scope typeB ng-hide"
I want to select the case where the HTML is either typeA
or typeB
but does not have ng-hide
.