Damn, I spent two hours discovering the reason of my Selenium test failing.
It turned out that the title of the web page contains non-breaking spaces instead of common ones. I wondered why "s.indexOf(s1)" returns -1, where:
s = "blablablb :: Directions";
s1 = ":: Directions";
Tuesday, January 29, 2008
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment