[Solved] Selenium ComparisonFailure between 2 value


There are several ways to solve the problem. One of them is:

Assert.assertEquals(text1Price.replace("TL", "").trim(), str.replace("TL", "").trim());

2

solved Selenium ComparisonFailure between 2 value