I have the following assert that works perfectly in FF
.expect(Selector('.error').innerText).eql('Please enter a valid house number.')
However for that to work in Chrome I need to have a carriage return like so:
.expect(Selector('.error').innerText).eql('\nPlease enter a valid house number.\n')
With that said I looked around to see if there is a way for me to handle different execution on different browsers but was not able to find how to do it.
Thanks in advance.