setVariable

runnableScrapingSession.setVariable( String identifier, Object value )
Description
Designates that value should be saved for the duration of the session, and can be accessed through the session object (described above) using the getVariable method.
Example
// Sets the session variable "LOGIN_USERNAME" with the value

// "my_username".

myScrapingSession.setVariable( "LOGIN_USERNAME", "my_username" );