saveFileBeforeTidying

scrapeableFile.saveFileBeforeTidying( String filePath ) (professional and enterprise editions only)
Description
Calling this method will cause screen-scraper to output to filePath the original HTML sent from the web server before it was tidied by screen-scraper. This can be useful in debugging in cases where sometimes tidying succeeds and sometimes it doesn't. This method must be called before the file is scraped.
Example
// Causes the non-tidied HTML from the scrapeable file
// to be output to the file path.
scrapeableFile.saveFileBeforeTidying( "C:/non-tidied.html" );