Skip to content
hollingsworthd edited this page Dec 8, 2014 · 7 revisions

JSON Object

Type Name Description
String url Required -- URL to HTTP GET
String[] instances Required (unless specified in screenslicer.config) -- IP addresses of ScreenSlicer servers
Boolean fetchCached Whether to visit the result URL directly or try a public web cache
HtmlNode[] postFetchClicks Clicks on HTML elements at a result page after fetching it
Integer timeout Page load timeout, in seconds. Defaults to 25 seconds.
Proxy proxy Proxy settings. Defaults to a local tor-socks (socks 5) connection at 9050.
Proxy[] proxies Proxy settings. Allows multiple proxies. If proxy types overlap, then one is pseudo-randomly chosen. Defaults to null.
Map<String, Object> browserPrefs Browser preferences.
Map<String, String> httpHeaders HTTP headers added to each request.
String runGuid GUID assigned to any ScreenSlicer request. Defaults to a new GUID (just a random string).
Boolean continueSession Whether the browser session should be retained from prior request. Defaults to false which is generally what's advisable.
Clone this wiki locally