Click or drag to resize

PageClientReloadAsync Method

Version 130.1.90
Reloads given page optionally ignoring the cache.

Namespace: CefSharp.DevTools.Page
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
public Task<DevToolsMethodResponse> ReloadAsync(
	bool? ignoreCache = null,
	string scriptToEvaluateOnLoad = null,
	string loaderId = null
)

Parameters

ignoreCache  NullableBoolean  (Optional)
If true, browser cache is ignored (as if the user pressed Shift+refresh).
scriptToEvaluateOnLoad  String  (Optional)
If set, the script will be injected into all frames of the inspected page after reload.Argument will be ignored if reloading dataURL origin.
loaderId  String  (Optional)
If set, an error will be thrown if the target page's main frame'sloader id does not match the provided id. This prevents accidentallyreloading an unintended target in case there's a racing navigation.

Return Value

TaskDevToolsMethodResponse
returns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also