I am doing some automation testing and I am looking for an element that contains a specific text by passing in its param value. Annoyingly, I am looking for 'Safe 1' but the text in the html shows it as 'Safe 1'
. So for testing purposes I want to include 'Safe 1'
as a param to see if it finds it but not sure how to add it.
I tried:
'Safe${ }1'
'Safe\ \1'
'Safe\\ \\1'
'Safe '+ + '1'
I am using typescript