I need a While loop that will execute its loop until an element's text content equals 'Active Accounts'. Like so...
while(Verify 'TextContext' 'NotEquals' 'Active Accounts' on QuerySelector)
Note, using 'Not Contains' in the condition won't work because a possible text content value is 'My Active Accounts', which I must be able to differentiate from 'Active Accounts'.
I tried the Regex negative look ahead expression /^(?!.*Active Accounts)/g, but that didn't work.
So, how can I implement an effective 'NotEquals' in a while loop?