18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.
How to get content as string from browser
OS: Mac OS X 10.6.8
Browser: FireFox v.13
Sahi OS Build: 2011-07-19
The URL simply returns a pre-formatted string (i.e. not html). How can I get that string from the browser? I've tried browser.fetch("_sahi._readURL("http://cnn.com"
"), but it didn't return anything. I've tried browser.fetch("document.body").text and blank string was returned.
Browser: FireFox v.13
Sahi OS Build: 2011-07-19
The URL simply returns a pre-formatted string (i.e. not html). How can I get that string from the browser? I've tried browser.fetch("_sahi._readURL("http://cnn.com"