Linked Questions

Popular Questions

How to find the css selector of a href/a/button

Asked by At

I am trying to find out css selector for "Clear" button, as mentioned in below script:

<a href="" class="slds-button slds-button--neutral search-button"
                             ng-click="vm.clearFilter()" style="">Clear</a>

I have tried :

  1. a[href*="Clear"]
  2. a:contains('Clear')
  3. a[*'Clear'*]

I am expecting to get a click on "Clear" button.

Related Questions