The parameters for requesting and rendering a page. When you submit an array of IPageRequests, they are loaded in-order, and only the last one is rendered. All variables except 'url' are optional.
choose what browser renders your request
if specified, will be used as the content of the page you are loading (no network request will be made for the
url). However, the
url property is still required, as that will be used as the page's "pretend" url
TRUE to return the page contents and metadata as a JSON object. see IUserResponse if FALSE, we return the rendered content in it's native form.
settings related to rendering of the last page of your request. See the IRenderSettings documentation (below) for details
"html": returns the html text,
"jpeg"|"jpg" : The default. renders page as jpeg. transparency not supported. (use
png for transparency),
"png": renders page as png,
"pdf": renders page as a pdf,
"script": returns the contents of
window['_pjscMeta'].scriptOutput. see the IScripts parameter for more details,
"plainText": return the text without html tags (page plain text),
settings related to requesting internet resources (your page and resources referenced by your page)
Chrome backend. (not available on
WebKit).. extra settings if you use injected
IScripts docs for more details.
add the nodes from your pageResponse that you do not wish to transmit. This reduces the size of your data, thus reducing cost and transmission time. if you need the data in these nodes, simply remove it from this array.
required. the target page you wish to load
adjustable parameters for when making network requests to the url specified