reload method

Future<WipResponse> reload({
  1. bool? ignoreCache,
  2. String? scriptToEvaluateOnLoad,
})

Implementation

Future<WipResponse> reload(
    {bool? ignoreCache, String? scriptToEvaluateOnLoad}) {
  var params = <String, dynamic>{};
  if (ignoreCache != null) {
    params['ignoreCache'] = ignoreCache;
  }
  if (scriptToEvaluateOnLoad != null) {
    params['scriptToEvaluateOnLoad'] = scriptToEvaluateOnLoad;
  }

  return sendCommand('Page.reload', params: params);
}