There are two type of links in a webpage. One type of link contains class and itemprop both in it and the other only contains class in it. In the below links, the first one is with both class and itemprop and the second one is with only class. However, if I want my selector not to select links with "itemprop" in it, how would that selector look like?
<a href="/los-angeles-ca/mip/crispy-crust-hollywood-location-443529?lid=1000226108758" itemprop="name" class="business-name"></a>
<a href="/los-angeles-ca/mip/casa-bianca-pizza-pie-13519?lid=1000203432051" data-analytics="{"target":"name","feature_click":""}" rel="" class="business-name" data-impressed="1"></a>
I've tried with the below one but it selects all:
a.business-name
when I tried with this, it selects only the links with both item:
a[itemprop="name"].business-name
When I tried with this to get only the class in it, it doesn't work:
a[not(itemprop="name")].business-name