I have a cleanup script that I use to keep our account clean and would like to click on something without a certain text. I currently am using .withText and a not within the regex but that doesn't appear to be working: .click(Selector('td').withText(/^((?!Dnd).)*$/igm).sibling('td').find('a').withAttribute('data-testid', 'edit'))
Is there any other way to do this? Any help would be appreciated!