String scrapeableFile.getCurrentURL ( )


Get the URL of the file.


This method does not receive any parameters.

Return Values

Returns the URL of the scrapeable file, as a string. If called after the file has been scraped the session variable tokens will be resolved to their values; otherwise, the tokens will simply be removed from the string.

Change Log

Version Description
4.5 Available for all editions.


Collect URL

 // In script called "After file is scraped"

 // Stores the current URL in the variable currentURL.
 currentURL = scrapeableFile.getCurrentURL();