In selenium, I am asserting 2 string values. They seem to be same but still the assertion fails. Can someone help me with this?

前端 未结 0 848
后悔当初
后悔当初 2020-12-09 18:16

I am using below code for asserting two string values

Assert.assertTrue(string1.contains(string2));

The value I\'m trying to assert with is

相关标签:
回答
  • 消灭零回复
提交回复
热议问题