Class PageAdapter
Represents an adapter for the Page domain to simplify the command interface.
public class PageAdapter
- Inheritance
-
PageAdapter
- Inherited Members
Constructors
PageAdapter(IDevToolsSession)
Initializes a new instance of the PageAdapter class.
public PageAdapter(IDevToolsSession session)
Parameters
session
IDevToolsSessionThe IDevToolsSession to be used with this adapter.
Properties
Session
Gets the DevToolsSession associated with the adapter.
public IDevToolsSession Session { get; }
Property Value
Methods
AddCompilationCache(AddCompilationCacheCommandSettings, CancellationToken, int?, bool)
addCompilationCache
public Task<AddCompilationCacheCommandResponse> AddCompilationCache(AddCompilationCacheCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
AddCompilationCacheCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
AddScriptToEvaluateOnLoad(AddScriptToEvaluateOnLoadCommandSettings, CancellationToken, int?, bool)
addScriptToEvaluateOnLoad
public Task<AddScriptToEvaluateOnLoadCommandResponse> AddScriptToEvaluateOnLoad(AddScriptToEvaluateOnLoadCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
AddScriptToEvaluateOnLoadCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
AddScriptToEvaluateOnNewDocument(AddScriptToEvaluateOnNewDocumentCommandSettings, CancellationToken, int?, bool)
addScriptToEvaluateOnNewDocument
public Task<AddScriptToEvaluateOnNewDocumentCommandResponse> AddScriptToEvaluateOnNewDocument(AddScriptToEvaluateOnNewDocumentCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
AddScriptToEvaluateOnNewDocumentCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
BringToFront(BringToFrontCommandSettings, CancellationToken, int?, bool)
bringToFront
public Task<BringToFrontCommandResponse> BringToFront(BringToFrontCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
BringToFrontCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
CaptureScreenshot(CaptureScreenshotCommandSettings, CancellationToken, int?, bool)
captureScreenshot
public Task<CaptureScreenshotCommandResponse> CaptureScreenshot(CaptureScreenshotCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
CaptureScreenshotCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
CaptureSnapshot(CaptureSnapshotCommandSettings, CancellationToken, int?, bool)
captureSnapshot
public Task<CaptureSnapshotCommandResponse> CaptureSnapshot(CaptureSnapshotCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
CaptureSnapshotCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
ClearCompilationCache(ClearCompilationCacheCommandSettings, CancellationToken, int?, bool)
clearCompilationCache
public Task<ClearCompilationCacheCommandResponse> ClearCompilationCache(ClearCompilationCacheCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
ClearCompilationCacheCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
ClearDeviceMetricsOverride(ClearDeviceMetricsOverrideCommandSettings, CancellationToken, int?, bool)
clearDeviceMetricsOverride
public Task<ClearDeviceMetricsOverrideCommandResponse> ClearDeviceMetricsOverride(ClearDeviceMetricsOverrideCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
ClearDeviceMetricsOverrideCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
ClearDeviceOrientationOverride(ClearDeviceOrientationOverrideCommandSettings, CancellationToken, int?, bool)
clearDeviceOrientationOverride
public Task<ClearDeviceOrientationOverrideCommandResponse> ClearDeviceOrientationOverride(ClearDeviceOrientationOverrideCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
ClearDeviceOrientationOverrideCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
ClearGeolocationOverride(ClearGeolocationOverrideCommandSettings, CancellationToken, int?, bool)
clearGeolocationOverride
public Task<ClearGeolocationOverrideCommandResponse> ClearGeolocationOverride(ClearGeolocationOverrideCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
ClearGeolocationOverrideCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Close(CloseCommandSettings, CancellationToken, int?, bool)
close
public Task<CloseCommandResponse> Close(CloseCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
CloseCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Crash(CrashCommandSettings, CancellationToken, int?, bool)
crash
public Task<CrashCommandResponse> Crash(CrashCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
CrashCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
CreateIsolatedWorld(CreateIsolatedWorldCommandSettings, CancellationToken, int?, bool)
createIsolatedWorld
public Task<CreateIsolatedWorldCommandResponse> CreateIsolatedWorld(CreateIsolatedWorldCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
CreateIsolatedWorldCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
DeleteCookie(DeleteCookieCommandSettings, CancellationToken, int?, bool)
deleteCookie
public Task<DeleteCookieCommandResponse> DeleteCookie(DeleteCookieCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
DeleteCookieCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Disable(DisableCommandSettings, CancellationToken, int?, bool)
disable
public Task<DisableCommandResponse> Disable(DisableCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
DisableCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Enable(EnableCommandSettings, CancellationToken, int?, bool)
enable
public Task<EnableCommandResponse> Enable(EnableCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
EnableCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GenerateTestReport(GenerateTestReportCommandSettings, CancellationToken, int?, bool)
generateTestReport
public Task<GenerateTestReportCommandResponse> GenerateTestReport(GenerateTestReportCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GenerateTestReportCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetAppManifest(GetAppManifestCommandSettings, CancellationToken, int?, bool)
getAppManifest
public Task<GetAppManifestCommandResponse> GetAppManifest(GetAppManifestCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetAppManifestCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetCookies(GetCookiesCommandSettings, CancellationToken, int?, bool)
getCookies
public Task<GetCookiesCommandResponse> GetCookies(GetCookiesCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetCookiesCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetFrameTree(GetFrameTreeCommandSettings, CancellationToken, int?, bool)
getFrameTree
public Task<GetFrameTreeCommandResponse> GetFrameTree(GetFrameTreeCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetFrameTreeCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetInstallabilityErrors(GetInstallabilityErrorsCommandSettings, CancellationToken, int?, bool)
getInstallabilityErrors
public Task<GetInstallabilityErrorsCommandResponse> GetInstallabilityErrors(GetInstallabilityErrorsCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetInstallabilityErrorsCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetLayoutMetrics(GetLayoutMetricsCommandSettings, CancellationToken, int?, bool)
getLayoutMetrics
public Task<GetLayoutMetricsCommandResponse> GetLayoutMetrics(GetLayoutMetricsCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetLayoutMetricsCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetManifestIcons(GetManifestIconsCommandSettings, CancellationToken, int?, bool)
getManifestIcons
public Task<GetManifestIconsCommandResponse> GetManifestIcons(GetManifestIconsCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetManifestIconsCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetNavigationHistory(GetNavigationHistoryCommandSettings, CancellationToken, int?, bool)
getNavigationHistory
public Task<GetNavigationHistoryCommandResponse> GetNavigationHistory(GetNavigationHistoryCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetNavigationHistoryCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetResourceContent(GetResourceContentCommandSettings, CancellationToken, int?, bool)
getResourceContent
public Task<GetResourceContentCommandResponse> GetResourceContent(GetResourceContentCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetResourceContentCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetResourceTree(GetResourceTreeCommandSettings, CancellationToken, int?, bool)
getResourceTree
public Task<GetResourceTreeCommandResponse> GetResourceTree(GetResourceTreeCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetResourceTreeCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
HandleJavaScriptDialog(HandleJavaScriptDialogCommandSettings, CancellationToken, int?, bool)
handleJavaScriptDialog
public Task<HandleJavaScriptDialogCommandResponse> HandleJavaScriptDialog(HandleJavaScriptDialogCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
HandleJavaScriptDialogCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Navigate(NavigateCommandSettings, CancellationToken, int?, bool)
navigate
public Task<NavigateCommandResponse> Navigate(NavigateCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
NavigateCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
NavigateToHistoryEntry(NavigateToHistoryEntryCommandSettings, CancellationToken, int?, bool)
navigateToHistoryEntry
public Task<NavigateToHistoryEntryCommandResponse> NavigateToHistoryEntry(NavigateToHistoryEntryCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
NavigateToHistoryEntryCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
PrintToPDF(PrintToPDFCommandSettings, CancellationToken, int?, bool)
printToPDF
public Task<PrintToPDFCommandResponse> PrintToPDF(PrintToPDFCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
PrintToPDFCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Reload(ReloadCommandSettings, CancellationToken, int?, bool)
reload
public Task<ReloadCommandResponse> Reload(ReloadCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
ReloadCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
RemoveScriptToEvaluateOnLoad(RemoveScriptToEvaluateOnLoadCommandSettings, CancellationToken, int?, bool)
removeScriptToEvaluateOnLoad
public Task<RemoveScriptToEvaluateOnLoadCommandResponse> RemoveScriptToEvaluateOnLoad(RemoveScriptToEvaluateOnLoadCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RemoveScriptToEvaluateOnLoadCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
RemoveScriptToEvaluateOnNewDocument(RemoveScriptToEvaluateOnNewDocumentCommandSettings, CancellationToken, int?, bool)
removeScriptToEvaluateOnNewDocument
public Task<RemoveScriptToEvaluateOnNewDocumentCommandResponse> RemoveScriptToEvaluateOnNewDocument(RemoveScriptToEvaluateOnNewDocumentCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RemoveScriptToEvaluateOnNewDocumentCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
ResetNavigationHistory(ResetNavigationHistoryCommandSettings, CancellationToken, int?, bool)
resetNavigationHistory
public Task<ResetNavigationHistoryCommandResponse> ResetNavigationHistory(ResetNavigationHistoryCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
ResetNavigationHistoryCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
ScreencastFrameAck(ScreencastFrameAckCommandSettings, CancellationToken, int?, bool)
screencastFrameAck
public Task<ScreencastFrameAckCommandResponse> ScreencastFrameAck(ScreencastFrameAckCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
ScreencastFrameAckCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SearchInResource(SearchInResourceCommandSettings, CancellationToken, int?, bool)
searchInResource
public Task<SearchInResourceCommandResponse> SearchInResource(SearchInResourceCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SearchInResourceCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetAdBlockingEnabled(SetAdBlockingEnabledCommandSettings, CancellationToken, int?, bool)
setAdBlockingEnabled
public Task<SetAdBlockingEnabledCommandResponse> SetAdBlockingEnabled(SetAdBlockingEnabledCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetAdBlockingEnabledCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetBypassCSP(SetBypassCSPCommandSettings, CancellationToken, int?, bool)
setBypassCSP
public Task<SetBypassCSPCommandResponse> SetBypassCSP(SetBypassCSPCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetBypassCSPCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetDeviceMetricsOverride(SetDeviceMetricsOverrideCommandSettings, CancellationToken, int?, bool)
setDeviceMetricsOverride
public Task<SetDeviceMetricsOverrideCommandResponse> SetDeviceMetricsOverride(SetDeviceMetricsOverrideCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetDeviceMetricsOverrideCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetDeviceOrientationOverride(SetDeviceOrientationOverrideCommandSettings, CancellationToken, int?, bool)
setDeviceOrientationOverride
public Task<SetDeviceOrientationOverrideCommandResponse> SetDeviceOrientationOverride(SetDeviceOrientationOverrideCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetDeviceOrientationOverrideCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetDocumentContent(SetDocumentContentCommandSettings, CancellationToken, int?, bool)
setDocumentContent
public Task<SetDocumentContentCommandResponse> SetDocumentContent(SetDocumentContentCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetDocumentContentCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetDownloadBehavior(SetDownloadBehaviorCommandSettings, CancellationToken, int?, bool)
setDownloadBehavior
public Task<SetDownloadBehaviorCommandResponse> SetDownloadBehavior(SetDownloadBehaviorCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetDownloadBehaviorCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetFontFamilies(SetFontFamiliesCommandSettings, CancellationToken, int?, bool)
setFontFamilies
public Task<SetFontFamiliesCommandResponse> SetFontFamilies(SetFontFamiliesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetFontFamiliesCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetFontSizes(SetFontSizesCommandSettings, CancellationToken, int?, bool)
setFontSizes
public Task<SetFontSizesCommandResponse> SetFontSizes(SetFontSizesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetFontSizesCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetGeolocationOverride(SetGeolocationOverrideCommandSettings, CancellationToken, int?, bool)
setGeolocationOverride
public Task<SetGeolocationOverrideCommandResponse> SetGeolocationOverride(SetGeolocationOverrideCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetGeolocationOverrideCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetInterceptFileChooserDialog(SetInterceptFileChooserDialogCommandSettings, CancellationToken, int?, bool)
setInterceptFileChooserDialog
public Task<SetInterceptFileChooserDialogCommandResponse> SetInterceptFileChooserDialog(SetInterceptFileChooserDialogCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetInterceptFileChooserDialogCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetLifecycleEventsEnabled(SetLifecycleEventsEnabledCommandSettings, CancellationToken, int?, bool)
setLifecycleEventsEnabled
public Task<SetLifecycleEventsEnabledCommandResponse> SetLifecycleEventsEnabled(SetLifecycleEventsEnabledCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetLifecycleEventsEnabledCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetProduceCompilationCache(SetProduceCompilationCacheCommandSettings, CancellationToken, int?, bool)
setProduceCompilationCache
public Task<SetProduceCompilationCacheCommandResponse> SetProduceCompilationCache(SetProduceCompilationCacheCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetProduceCompilationCacheCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetTouchEmulationEnabled(SetTouchEmulationEnabledCommandSettings, CancellationToken, int?, bool)
setTouchEmulationEnabled
public Task<SetTouchEmulationEnabledCommandResponse> SetTouchEmulationEnabled(SetTouchEmulationEnabledCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetTouchEmulationEnabledCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetWebLifecycleState(SetWebLifecycleStateCommandSettings, CancellationToken, int?, bool)
setWebLifecycleState
public Task<SetWebLifecycleStateCommandResponse> SetWebLifecycleState(SetWebLifecycleStateCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetWebLifecycleStateCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
StartScreencast(StartScreencastCommandSettings, CancellationToken, int?, bool)
startScreencast
public Task<StartScreencastCommandResponse> StartScreencast(StartScreencastCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
StartScreencastCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
StopLoading(StopLoadingCommandSettings, CancellationToken, int?, bool)
stopLoading
public Task<StopLoadingCommandResponse> StopLoading(StopLoadingCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
StopLoadingCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
StopScreencast(StopScreencastCommandSettings, CancellationToken, int?, bool)
stopScreencast
public Task<StopScreencastCommandResponse> StopScreencast(StopScreencastCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
StopScreencastCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
WaitForDebugger(WaitForDebuggerCommandSettings, CancellationToken, int?, bool)
waitForDebugger
public Task<WaitForDebuggerCommandResponse> WaitForDebugger(WaitForDebuggerCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
WaitForDebuggerCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Events
CompilationCacheProduced
compilationCacheProduced
public event EventHandler<CompilationCacheProducedEventArgs> CompilationCacheProduced
Event Type
DomContentEventFired
domContentEventFired
public event EventHandler<DomContentEventFiredEventArgs> DomContentEventFired
Event Type
DownloadProgress
downloadProgress
public event EventHandler<DownloadProgressEventArgs> DownloadProgress
Event Type
DownloadWillBegin
downloadWillBegin
public event EventHandler<DownloadWillBeginEventArgs> DownloadWillBegin
Event Type
FileChooserOpened
fileChooserOpened
public event EventHandler<FileChooserOpenedEventArgs> FileChooserOpened
Event Type
FrameAttached
frameAttached
public event EventHandler<FrameAttachedEventArgs> FrameAttached
Event Type
FrameClearedScheduledNavigation
frameClearedScheduledNavigation
public event EventHandler<FrameClearedScheduledNavigationEventArgs> FrameClearedScheduledNavigation
Event Type
FrameDetached
frameDetached
public event EventHandler<FrameDetachedEventArgs> FrameDetached
Event Type
FrameNavigated
frameNavigated
public event EventHandler<FrameNavigatedEventArgs> FrameNavigated
Event Type
FrameRequestedNavigation
frameRequestedNavigation
public event EventHandler<FrameRequestedNavigationEventArgs> FrameRequestedNavigation
Event Type
FrameResized
frameResized
public event EventHandler<FrameResizedEventArgs> FrameResized
Event Type
FrameScheduledNavigation
frameScheduledNavigation
public event EventHandler<FrameScheduledNavigationEventArgs> FrameScheduledNavigation
Event Type
FrameStartedLoading
frameStartedLoading
public event EventHandler<FrameStartedLoadingEventArgs> FrameStartedLoading
Event Type
FrameStoppedLoading
frameStoppedLoading
public event EventHandler<FrameStoppedLoadingEventArgs> FrameStoppedLoading
Event Type
InterstitialHidden
interstitialHidden
public event EventHandler<InterstitialHiddenEventArgs> InterstitialHidden
Event Type
InterstitialShown
interstitialShown
public event EventHandler<InterstitialShownEventArgs> InterstitialShown
Event Type
JavascriptDialogClosed
javascriptDialogClosed
public event EventHandler<JavascriptDialogClosedEventArgs> JavascriptDialogClosed
Event Type
JavascriptDialogOpening
javascriptDialogOpening
public event EventHandler<JavascriptDialogOpeningEventArgs> JavascriptDialogOpening
Event Type
LifecycleEvent
lifecycleEvent
public event EventHandler<LifecycleEventEventArgs> LifecycleEvent
Event Type
LoadEventFired
loadEventFired
public event EventHandler<LoadEventFiredEventArgs> LoadEventFired
Event Type
NavigatedWithinDocument
navigatedWithinDocument
public event EventHandler<NavigatedWithinDocumentEventArgs> NavigatedWithinDocument
Event Type
ScreencastFrame
screencastFrame
public event EventHandler<ScreencastFrameEventArgs> ScreencastFrame
Event Type
ScreencastVisibilityChanged
screencastVisibilityChanged
public event EventHandler<ScreencastVisibilityChangedEventArgs> ScreencastVisibilityChanged
Event Type
WindowOpen
windowOpen
public event EventHandler<WindowOpenEventArgs> WindowOpen