How to enable JavaScript?
Hello,
Have you ever received from the server error like "Please enable JavaScript to view the page content"? I set all cookies and html headers and it still doesn`t work.
Please let me know how to enable javaScript in this case.
https://ccmspa.pinellascounty.org/PublicAccess/default.aspx
I checked on windows 7 and ubuntu 14.04
Thanks in advanced,
Mariusz
We cannot run JavaScript, but
We cannot run JavaScript, but can generally fake it. Most of the time it's just making HTTP requests and you would make a new scrapeableFile to mimic it.
Look at this post for some pointers.
Jason, I have read your post
Jason,
I have read your post about dynamic content and you have shown how to make a session using other files like scroll.js or data.json.
Unfortunately in my case there is no any additional file (exept one .css file). Could you give me any advice how to mimic JavaScript in the http request?
When you proxy the site with
When you proxy the site with screen-scraper, make sure you don't check to "filter out less useful transactions", and then look at the site to find a snippet of data you want. Use the find button to locate a HTTP Response with that data in it, and that will show you how the request was made. Generally you just make a new scrapeableFile to make the same request.
Helpful note: many AJAX sites are very picky about the HTTP Headers, so make sure your scrape request matches as much as possible.