getName

String session.getName ( )

Description

Get the name of the current scraping session.

Parameters

This method does not receive any parameters.

Return Values

Returns the name of the scraping session, as a string.

Change Log

Version Description
4.5 Available for all editions.

Examples

Write Scraping Session Name to Log

 // Outputs the name of the scraping session to the log.
 session.log( "Current scraping session: " + session.getName() );