this page will make ajax calls every 50ms using the browser's Fetch API. The following
pre
element will have it's contents replaced by the results from
"../helpers/statusCode/XXX"
where XXX
> starts at 200 and increases by one every 50ms.
This "fast ajax" behavior is problematic for PhantomJsCloud because there isn't a long enough delay between AJAX requests for our default settings to consider the page "finished loading". To overcome this, do one of the following:
window._pjscMeta.forceFinish=true;
requestSettings.doneWhen
criteria to inform when the page is finished.will be replaced by AJAX results