stopScraping

session.stopScraping()
Description
When invoked, screen-scraper will halt the current scraping session.
Example
// Stops scraping if an error response was received
// from the server.
if( scrapeableFile.wasErrorOnRequest() )
{
 session.stopScraping();
}