I am a big fan of Karate and exploring Karate UI for the end-to-end testing but stuck on one simple thing which is finding element by attribute where value has a line break in HTML and assertion always fails.
When I use And match attribute('#eg01SubmitId', 'type') == 'submit' And match text('.myClass') == 'Class Locator Test'
Use case: Comparing Prices (Getting price quotes from elements in one application and comparing it with price quotes in other applications)

What is the best strategy in this use case and how I can implement this in Karate?

