Trying to locate an element and use Capybara for validation. There's a specific element that I want to check for using page.should have_css.
<i class="ui-grid-icon-cancel" ui-grid-one-bind-aria-label="aria.removeFilter" aria-label="Remove Filter"> </i>
Currently attempting to access the ui-grid-icon-cancel and confirm its presence. Below is the code being used for validation.
page.should have_css('class#ui-grid-icon-cancel')
Looking for additional solutions to address this issue.
Intending to verify the CSS element with Capybara.