18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

SAHI's Exceptional Ability to Fetch Browser Independent Text

betsybetsy Members
edited November -1 in Sahi - Open Source
Hi Narayan,

As part of looking out for the best suited Open Source Tool for Automation, I came across a weird sort of issue with fetching of Text of an Object on IE and FF and then comparing it. None of the Tools that I used could return the exact same text, facing issues varying from extra spaces to unidentifiable characters to unnecessary newlines and whitespaces. But I was truly and pleasantly surprised to find that Sahi returned the exact Text on both the Browsers.

Really curious about how this could be acheived!!!

Three cheers to SAHI!!

Comments

  • Yes, I would like to acknowledge this feature too!!
    Way to go SAHI!!
  • narayannarayan Administrators
    Hi Betsy and Ashley,

    Sahi removes all duplicate white spaces since people while testing generally do not care about number of white spaces between words. Duplicate whitespaces also leads to assertion failures in tests which can be tiring to pinpoint and rectify.

    Glad both of you found the feature useful.

    Regards,
    Narayan
Sign In or Register to comment.