If I have an element having text 'xyzzy', but I wanted to check this against all these: 'par' or 'xyzzy' or 'arc', how we can do it?
I'm not able to get it with this:
.should('have.text','Ab demo 1').and('have.text','ab demo 2')
Can we replace 'and' with 'or'?
Just add the word
any
and provide the list to match