Reputation: 4286
I have the following xpath expression :
//div[@class='a-section a-spacing-none a-spacing-top-small']
This selection contains <div class= "a-row a-spacing-micro">
i want to do a not contains on this class a-row a-spacing-micro
Upvotes: 0
Views: 62
Reputation: 24930
Try this on your html and see if it works:
//div[not(@class='a-section a-spacing-none a-spacing-top-small')]
Upvotes: 1