bananager.blogg.se

Casperjs tor proxy
Casperjs tor proxy










casperjs tor proxy

Proxy method for PhantomJS ’ WebPage#onResourceRequested() callback, but the current Casper instance is passed as first argument. 作为 Phantomjs 中 WebPage#onResourceRequested() 回调的代理 Proxy method for PhantomJS ’ WebPage#onResourceReceived() callback, but the current Casper instance is passed as first argument. 作为 Phantomjs 中 WebPage#onResourceReceived() 回调的代理 Signature: onPageInitialized(Object page)Ī function to be called after WebPage instance has been initialized Signature: onLoadError(Object Casper, String casper.requestUrl, String status)Ī function to be called when a requested resource cannot be loaded

casperjs tor proxy

Signature: onError(String msg, Array backtrace)Ī function to be called when an “ error ” level event occurs Signature: onDie(Object Casper, String message, String status)Ī function to be called when Casper#die() is called Logging level (see the logging section for more information)Ī function to be called when a javascript alert() is triggered Sets if CasperJS must exit when an uncaught error has been thrown by the script.Ī javascript Object containing functions to call when a requested resource has a given HTTP status code. A dedicated sample is provided as an example. A collection of script filepaths to include in every page loaded.












Casperjs tor proxy