I am using Snoopy class to read contents of a web page. But it doesn't perfectly simulate the browser because the content of web page changes when I use Snoopy to fetch it. And if I view it in browser directly then content is different.
I even set the user agent string in Snoopy but still no luck.
How can we perfectly simulate browser so it is indistinguishable whether we are using some script or a browser to view web page?