How do I change this Format

Dear All,

Good evening to all of you. :smiley:

I have 02 lines of Codes,

The Below Works :

button[text()[contains(.,'Sign In')]]

The Below Doesn’t : :tired_face:

*[translate(@text, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'sign in']

What am I missing here? :thinking:

Thank you.