ReloadOptions constructor
ReloadOptions(
{ - bool? ignoreCache,
- String? userAgent,
- String? injectedScript,
})
Implementation
ReloadOptions({
/// When true, the loader will bypass the cache for all inspected page
/// resources loaded before the `load` event is fired. The effect is similar
/// to pressing Ctrl+Shift+R in the inspected window or within the Developer
/// Tools window.
bool? ignoreCache,
/// If specified, the string will override the value of the `User-Agent`
/// HTTP header that's sent while loading the resources of the inspected
/// page. The string will also override the value of the
/// `navigator.userAgent` property that's returned to any scripts that are
/// running within the inspected page.
String? userAgent,
/// If specified, the script will be injected into every frame of the
/// inspected page immediately upon load, before any of the frame's scripts.
/// The script will not be injected after subsequent reloads-for example, if
/// the user presses Ctrl+R.
String? injectedScript,
}) : _wrapped = $js.ReloadOptions(
ignoreCache: ignoreCache,
userAgent: userAgent,
injectedScript: injectedScript,
);