ajax-fast.html

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:

  1. inject a script that sets window._pjscMeta.forceFinish=true;
  2. use a requestSettings.doneWhen criteria to inform when the page is finished.
will be replaced by AJAX results