executeScript
void session.executeScript ( String scriptName ) (professional and enterprise editions only)
Description
Manual start the execution of a script.
Parameters
- scriptName Name of the script to execute, as a string. The script has to be on the same instance of screen-scraper as the scraping session.
Return Values
Returns void. If the file doesn't exist a message will be written to the log. If the called script has an error in it a warning will be written to the log.
Change Log
Version | Description |
---|---|
5.0 | Scripts called using this method are now exported with the scraping session. |
4.5 | Available for professional and enterprise editions. |
Examples
Execute Script
// Executes the script "My Script".
session.executeScript( "My Script" );
session.executeScript( "My Script" );
scraper on 07/16/2010 at 4:54 pm
- Printer-friendly version
- Login or register to post comments