Table of Contents

Class PageAdapter

Namespace
OpenQA.Selenium.DevTools.V85.Page
Assembly
WebDriver.dll

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 IDevToolsSession

The IDevToolsSession to be used with this adapter.

Properties

Session

Gets the DevToolsSession associated with the adapter.

public IDevToolsSession Session { get; }

Property Value

IDevToolsSession

Methods

AddCompilationCache(AddCompilationCacheCommandSettings, CancellationToken, int?, bool)

addCompilationCache

public Task<AddCompilationCacheCommandResponse> AddCompilationCache(AddCompilationCacheCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command AddCompilationCacheCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<AddCompilationCacheCommandResponse>

AddScriptToEvaluateOnLoad(AddScriptToEvaluateOnLoadCommandSettings, CancellationToken, int?, bool)

addScriptToEvaluateOnLoad

public Task<AddScriptToEvaluateOnLoadCommandResponse> AddScriptToEvaluateOnLoad(AddScriptToEvaluateOnLoadCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command AddScriptToEvaluateOnLoadCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<AddScriptToEvaluateOnLoadCommandResponse>

AddScriptToEvaluateOnNewDocument(AddScriptToEvaluateOnNewDocumentCommandSettings, CancellationToken, int?, bool)

addScriptToEvaluateOnNewDocument

public Task<AddScriptToEvaluateOnNewDocumentCommandResponse> AddScriptToEvaluateOnNewDocument(AddScriptToEvaluateOnNewDocumentCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command AddScriptToEvaluateOnNewDocumentCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<AddScriptToEvaluateOnNewDocumentCommandResponse>

BringToFront(BringToFrontCommandSettings, CancellationToken, int?, bool)

bringToFront

public Task<BringToFrontCommandResponse> BringToFront(BringToFrontCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command BringToFrontCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<BringToFrontCommandResponse>

CaptureScreenshot(CaptureScreenshotCommandSettings, CancellationToken, int?, bool)

captureScreenshot

public Task<CaptureScreenshotCommandResponse> CaptureScreenshot(CaptureScreenshotCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command CaptureScreenshotCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<CaptureScreenshotCommandResponse>

CaptureSnapshot(CaptureSnapshotCommandSettings, CancellationToken, int?, bool)

captureSnapshot

public Task<CaptureSnapshotCommandResponse> CaptureSnapshot(CaptureSnapshotCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command CaptureSnapshotCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<CaptureSnapshotCommandResponse>

ClearCompilationCache(ClearCompilationCacheCommandSettings, CancellationToken, int?, bool)

clearCompilationCache

public Task<ClearCompilationCacheCommandResponse> ClearCompilationCache(ClearCompilationCacheCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command ClearCompilationCacheCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<ClearCompilationCacheCommandResponse>

ClearDeviceMetricsOverride(ClearDeviceMetricsOverrideCommandSettings, CancellationToken, int?, bool)

clearDeviceMetricsOverride

public Task<ClearDeviceMetricsOverrideCommandResponse> ClearDeviceMetricsOverride(ClearDeviceMetricsOverrideCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command ClearDeviceMetricsOverrideCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<ClearDeviceMetricsOverrideCommandResponse>

ClearDeviceOrientationOverride(ClearDeviceOrientationOverrideCommandSettings, CancellationToken, int?, bool)

clearDeviceOrientationOverride

public Task<ClearDeviceOrientationOverrideCommandResponse> ClearDeviceOrientationOverride(ClearDeviceOrientationOverrideCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command ClearDeviceOrientationOverrideCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<ClearDeviceOrientationOverrideCommandResponse>

ClearGeolocationOverride(ClearGeolocationOverrideCommandSettings, CancellationToken, int?, bool)

clearGeolocationOverride

public Task<ClearGeolocationOverrideCommandResponse> ClearGeolocationOverride(ClearGeolocationOverrideCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command ClearGeolocationOverrideCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<ClearGeolocationOverrideCommandResponse>

Close(CloseCommandSettings, CancellationToken, int?, bool)

close

public Task<CloseCommandResponse> Close(CloseCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command CloseCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<CloseCommandResponse>

Crash(CrashCommandSettings, CancellationToken, int?, bool)

crash

public Task<CrashCommandResponse> Crash(CrashCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command CrashCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<CrashCommandResponse>

CreateIsolatedWorld(CreateIsolatedWorldCommandSettings, CancellationToken, int?, bool)

createIsolatedWorld

public Task<CreateIsolatedWorldCommandResponse> CreateIsolatedWorld(CreateIsolatedWorldCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command CreateIsolatedWorldCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<CreateIsolatedWorldCommandResponse>

DeleteCookie(DeleteCookieCommandSettings, CancellationToken, int?, bool)

deleteCookie

public Task<DeleteCookieCommandResponse> DeleteCookie(DeleteCookieCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command DeleteCookieCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<DeleteCookieCommandResponse>

Disable(DisableCommandSettings, CancellationToken, int?, bool)

disable

public Task<DisableCommandResponse> Disable(DisableCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command DisableCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<DisableCommandResponse>

Enable(EnableCommandSettings, CancellationToken, int?, bool)

enable

public Task<EnableCommandResponse> Enable(EnableCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command EnableCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<EnableCommandResponse>

GenerateTestReport(GenerateTestReportCommandSettings, CancellationToken, int?, bool)

generateTestReport

public Task<GenerateTestReportCommandResponse> GenerateTestReport(GenerateTestReportCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GenerateTestReportCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GenerateTestReportCommandResponse>

GetAppManifest(GetAppManifestCommandSettings, CancellationToken, int?, bool)

getAppManifest

public Task<GetAppManifestCommandResponse> GetAppManifest(GetAppManifestCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetAppManifestCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetAppManifestCommandResponse>

GetCookies(GetCookiesCommandSettings, CancellationToken, int?, bool)

getCookies

public Task<GetCookiesCommandResponse> GetCookies(GetCookiesCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetCookiesCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetCookiesCommandResponse>

GetFrameTree(GetFrameTreeCommandSettings, CancellationToken, int?, bool)

getFrameTree

public Task<GetFrameTreeCommandResponse> GetFrameTree(GetFrameTreeCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetFrameTreeCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetFrameTreeCommandResponse>

GetInstallabilityErrors(GetInstallabilityErrorsCommandSettings, CancellationToken, int?, bool)

getInstallabilityErrors

public Task<GetInstallabilityErrorsCommandResponse> GetInstallabilityErrors(GetInstallabilityErrorsCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetInstallabilityErrorsCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetInstallabilityErrorsCommandResponse>

GetLayoutMetrics(GetLayoutMetricsCommandSettings, CancellationToken, int?, bool)

getLayoutMetrics

public Task<GetLayoutMetricsCommandResponse> GetLayoutMetrics(GetLayoutMetricsCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetLayoutMetricsCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetLayoutMetricsCommandResponse>

GetManifestIcons(GetManifestIconsCommandSettings, CancellationToken, int?, bool)

getManifestIcons

public Task<GetManifestIconsCommandResponse> GetManifestIcons(GetManifestIconsCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetManifestIconsCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetManifestIconsCommandResponse>

GetNavigationHistory(GetNavigationHistoryCommandSettings, CancellationToken, int?, bool)

getNavigationHistory

public Task<GetNavigationHistoryCommandResponse> GetNavigationHistory(GetNavigationHistoryCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetNavigationHistoryCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetNavigationHistoryCommandResponse>

GetResourceContent(GetResourceContentCommandSettings, CancellationToken, int?, bool)

getResourceContent

public Task<GetResourceContentCommandResponse> GetResourceContent(GetResourceContentCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetResourceContentCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetResourceContentCommandResponse>

GetResourceTree(GetResourceTreeCommandSettings, CancellationToken, int?, bool)

getResourceTree

public Task<GetResourceTreeCommandResponse> GetResourceTree(GetResourceTreeCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetResourceTreeCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetResourceTreeCommandResponse>

HandleJavaScriptDialog(HandleJavaScriptDialogCommandSettings, CancellationToken, int?, bool)

handleJavaScriptDialog

public Task<HandleJavaScriptDialogCommandResponse> HandleJavaScriptDialog(HandleJavaScriptDialogCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command HandleJavaScriptDialogCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<HandleJavaScriptDialogCommandResponse>

Navigate(NavigateCommandSettings, CancellationToken, int?, bool)

navigate

public Task<NavigateCommandResponse> Navigate(NavigateCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command NavigateCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<NavigateCommandResponse>

NavigateToHistoryEntry(NavigateToHistoryEntryCommandSettings, CancellationToken, int?, bool)

navigateToHistoryEntry

public Task<NavigateToHistoryEntryCommandResponse> NavigateToHistoryEntry(NavigateToHistoryEntryCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command NavigateToHistoryEntryCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<NavigateToHistoryEntryCommandResponse>

PrintToPDF(PrintToPDFCommandSettings, CancellationToken, int?, bool)

printToPDF

public Task<PrintToPDFCommandResponse> PrintToPDF(PrintToPDFCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command PrintToPDFCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<PrintToPDFCommandResponse>

Reload(ReloadCommandSettings, CancellationToken, int?, bool)

reload

public Task<ReloadCommandResponse> Reload(ReloadCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command ReloadCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<ReloadCommandResponse>

RemoveScriptToEvaluateOnLoad(RemoveScriptToEvaluateOnLoadCommandSettings, CancellationToken, int?, bool)

removeScriptToEvaluateOnLoad

public Task<RemoveScriptToEvaluateOnLoadCommandResponse> RemoveScriptToEvaluateOnLoad(RemoveScriptToEvaluateOnLoadCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command RemoveScriptToEvaluateOnLoadCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<RemoveScriptToEvaluateOnLoadCommandResponse>

RemoveScriptToEvaluateOnNewDocument(RemoveScriptToEvaluateOnNewDocumentCommandSettings, CancellationToken, int?, bool)

removeScriptToEvaluateOnNewDocument

public Task<RemoveScriptToEvaluateOnNewDocumentCommandResponse> RemoveScriptToEvaluateOnNewDocument(RemoveScriptToEvaluateOnNewDocumentCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command RemoveScriptToEvaluateOnNewDocumentCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<RemoveScriptToEvaluateOnNewDocumentCommandResponse>

ResetNavigationHistory(ResetNavigationHistoryCommandSettings, CancellationToken, int?, bool)

resetNavigationHistory

public Task<ResetNavigationHistoryCommandResponse> ResetNavigationHistory(ResetNavigationHistoryCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command ResetNavigationHistoryCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<ResetNavigationHistoryCommandResponse>

ScreencastFrameAck(ScreencastFrameAckCommandSettings, CancellationToken, int?, bool)

screencastFrameAck

public Task<ScreencastFrameAckCommandResponse> ScreencastFrameAck(ScreencastFrameAckCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command ScreencastFrameAckCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<ScreencastFrameAckCommandResponse>

SearchInResource(SearchInResourceCommandSettings, CancellationToken, int?, bool)

searchInResource

public Task<SearchInResourceCommandResponse> SearchInResource(SearchInResourceCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SearchInResourceCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SearchInResourceCommandResponse>

SetAdBlockingEnabled(SetAdBlockingEnabledCommandSettings, CancellationToken, int?, bool)

setAdBlockingEnabled

public Task<SetAdBlockingEnabledCommandResponse> SetAdBlockingEnabled(SetAdBlockingEnabledCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetAdBlockingEnabledCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetAdBlockingEnabledCommandResponse>

SetBypassCSP(SetBypassCSPCommandSettings, CancellationToken, int?, bool)

setBypassCSP

public Task<SetBypassCSPCommandResponse> SetBypassCSP(SetBypassCSPCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetBypassCSPCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetBypassCSPCommandResponse>

SetDeviceMetricsOverride(SetDeviceMetricsOverrideCommandSettings, CancellationToken, int?, bool)

setDeviceMetricsOverride

public Task<SetDeviceMetricsOverrideCommandResponse> SetDeviceMetricsOverride(SetDeviceMetricsOverrideCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetDeviceMetricsOverrideCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetDeviceMetricsOverrideCommandResponse>

SetDeviceOrientationOverride(SetDeviceOrientationOverrideCommandSettings, CancellationToken, int?, bool)

setDeviceOrientationOverride

public Task<SetDeviceOrientationOverrideCommandResponse> SetDeviceOrientationOverride(SetDeviceOrientationOverrideCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetDeviceOrientationOverrideCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetDeviceOrientationOverrideCommandResponse>

SetDocumentContent(SetDocumentContentCommandSettings, CancellationToken, int?, bool)

setDocumentContent

public Task<SetDocumentContentCommandResponse> SetDocumentContent(SetDocumentContentCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetDocumentContentCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetDocumentContentCommandResponse>

SetDownloadBehavior(SetDownloadBehaviorCommandSettings, CancellationToken, int?, bool)

setDownloadBehavior

public Task<SetDownloadBehaviorCommandResponse> SetDownloadBehavior(SetDownloadBehaviorCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetDownloadBehaviorCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetDownloadBehaviorCommandResponse>

SetFontFamilies(SetFontFamiliesCommandSettings, CancellationToken, int?, bool)

setFontFamilies

public Task<SetFontFamiliesCommandResponse> SetFontFamilies(SetFontFamiliesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetFontFamiliesCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetFontFamiliesCommandResponse>

SetFontSizes(SetFontSizesCommandSettings, CancellationToken, int?, bool)

setFontSizes

public Task<SetFontSizesCommandResponse> SetFontSizes(SetFontSizesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetFontSizesCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetFontSizesCommandResponse>

SetGeolocationOverride(SetGeolocationOverrideCommandSettings, CancellationToken, int?, bool)

setGeolocationOverride

public Task<SetGeolocationOverrideCommandResponse> SetGeolocationOverride(SetGeolocationOverrideCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetGeolocationOverrideCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetGeolocationOverrideCommandResponse>

SetInterceptFileChooserDialog(SetInterceptFileChooserDialogCommandSettings, CancellationToken, int?, bool)

setInterceptFileChooserDialog

public Task<SetInterceptFileChooserDialogCommandResponse> SetInterceptFileChooserDialog(SetInterceptFileChooserDialogCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetInterceptFileChooserDialogCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetInterceptFileChooserDialogCommandResponse>

SetLifecycleEventsEnabled(SetLifecycleEventsEnabledCommandSettings, CancellationToken, int?, bool)

setLifecycleEventsEnabled

public Task<SetLifecycleEventsEnabledCommandResponse> SetLifecycleEventsEnabled(SetLifecycleEventsEnabledCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetLifecycleEventsEnabledCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetLifecycleEventsEnabledCommandResponse>

SetProduceCompilationCache(SetProduceCompilationCacheCommandSettings, CancellationToken, int?, bool)

setProduceCompilationCache

public Task<SetProduceCompilationCacheCommandResponse> SetProduceCompilationCache(SetProduceCompilationCacheCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetProduceCompilationCacheCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetProduceCompilationCacheCommandResponse>

SetTouchEmulationEnabled(SetTouchEmulationEnabledCommandSettings, CancellationToken, int?, bool)

setTouchEmulationEnabled

public Task<SetTouchEmulationEnabledCommandResponse> SetTouchEmulationEnabled(SetTouchEmulationEnabledCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetTouchEmulationEnabledCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetTouchEmulationEnabledCommandResponse>

SetWebLifecycleState(SetWebLifecycleStateCommandSettings, CancellationToken, int?, bool)

setWebLifecycleState

public Task<SetWebLifecycleStateCommandResponse> SetWebLifecycleState(SetWebLifecycleStateCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetWebLifecycleStateCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetWebLifecycleStateCommandResponse>

StartScreencast(StartScreencastCommandSettings, CancellationToken, int?, bool)

startScreencast

public Task<StartScreencastCommandResponse> StartScreencast(StartScreencastCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command StartScreencastCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<StartScreencastCommandResponse>

StopLoading(StopLoadingCommandSettings, CancellationToken, int?, bool)

stopLoading

public Task<StopLoadingCommandResponse> StopLoading(StopLoadingCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command StopLoadingCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<StopLoadingCommandResponse>

StopScreencast(StopScreencastCommandSettings, CancellationToken, int?, bool)

stopScreencast

public Task<StopScreencastCommandResponse> StopScreencast(StopScreencastCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command StopScreencastCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<StopScreencastCommandResponse>

WaitForDebugger(WaitForDebuggerCommandSettings, CancellationToken, int?, bool)

waitForDebugger

public Task<WaitForDebuggerCommandResponse> WaitForDebugger(WaitForDebuggerCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command WaitForDebuggerCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<WaitForDebuggerCommandResponse>

Events

CompilationCacheProduced

compilationCacheProduced

public event EventHandler<CompilationCacheProducedEventArgs> CompilationCacheProduced

Event Type

EventHandler<CompilationCacheProducedEventArgs>

DomContentEventFired

domContentEventFired

public event EventHandler<DomContentEventFiredEventArgs> DomContentEventFired

Event Type

EventHandler<DomContentEventFiredEventArgs>

DownloadProgress

downloadProgress

public event EventHandler<DownloadProgressEventArgs> DownloadProgress

Event Type

EventHandler<DownloadProgressEventArgs>

DownloadWillBegin

downloadWillBegin

public event EventHandler<DownloadWillBeginEventArgs> DownloadWillBegin

Event Type

EventHandler<DownloadWillBeginEventArgs>

FileChooserOpened

fileChooserOpened

public event EventHandler<FileChooserOpenedEventArgs> FileChooserOpened

Event Type

EventHandler<FileChooserOpenedEventArgs>

FrameAttached

frameAttached

public event EventHandler<FrameAttachedEventArgs> FrameAttached

Event Type

EventHandler<FrameAttachedEventArgs>

FrameClearedScheduledNavigation

frameClearedScheduledNavigation

public event EventHandler<FrameClearedScheduledNavigationEventArgs> FrameClearedScheduledNavigation

Event Type

EventHandler<FrameClearedScheduledNavigationEventArgs>

FrameDetached

frameDetached

public event EventHandler<FrameDetachedEventArgs> FrameDetached

Event Type

EventHandler<FrameDetachedEventArgs>

FrameNavigated

frameNavigated

public event EventHandler<FrameNavigatedEventArgs> FrameNavigated

Event Type

EventHandler<FrameNavigatedEventArgs>

FrameRequestedNavigation

frameRequestedNavigation

public event EventHandler<FrameRequestedNavigationEventArgs> FrameRequestedNavigation

Event Type

EventHandler<FrameRequestedNavigationEventArgs>

FrameResized

frameResized

public event EventHandler<FrameResizedEventArgs> FrameResized

Event Type

EventHandler<FrameResizedEventArgs>

FrameScheduledNavigation

frameScheduledNavigation

public event EventHandler<FrameScheduledNavigationEventArgs> FrameScheduledNavigation

Event Type

EventHandler<FrameScheduledNavigationEventArgs>

FrameStartedLoading

frameStartedLoading

public event EventHandler<FrameStartedLoadingEventArgs> FrameStartedLoading

Event Type

EventHandler<FrameStartedLoadingEventArgs>

FrameStoppedLoading

frameStoppedLoading

public event EventHandler<FrameStoppedLoadingEventArgs> FrameStoppedLoading

Event Type

EventHandler<FrameStoppedLoadingEventArgs>

InterstitialHidden

interstitialHidden

public event EventHandler<InterstitialHiddenEventArgs> InterstitialHidden

Event Type

EventHandler<InterstitialHiddenEventArgs>

InterstitialShown

interstitialShown

public event EventHandler<InterstitialShownEventArgs> InterstitialShown

Event Type

EventHandler<InterstitialShownEventArgs>

JavascriptDialogClosed

javascriptDialogClosed

public event EventHandler<JavascriptDialogClosedEventArgs> JavascriptDialogClosed

Event Type

EventHandler<JavascriptDialogClosedEventArgs>

JavascriptDialogOpening

javascriptDialogOpening

public event EventHandler<JavascriptDialogOpeningEventArgs> JavascriptDialogOpening

Event Type

EventHandler<JavascriptDialogOpeningEventArgs>

LifecycleEvent

lifecycleEvent

public event EventHandler<LifecycleEventEventArgs> LifecycleEvent

Event Type

EventHandler<LifecycleEventEventArgs>

LoadEventFired

loadEventFired

public event EventHandler<LoadEventFiredEventArgs> LoadEventFired

Event Type

EventHandler<LoadEventFiredEventArgs>

NavigatedWithinDocument

navigatedWithinDocument

public event EventHandler<NavigatedWithinDocumentEventArgs> NavigatedWithinDocument

Event Type

EventHandler<NavigatedWithinDocumentEventArgs>

ScreencastFrame

screencastFrame

public event EventHandler<ScreencastFrameEventArgs> ScreencastFrame

Event Type

EventHandler<ScreencastFrameEventArgs>

ScreencastVisibilityChanged

screencastVisibilityChanged

public event EventHandler<ScreencastVisibilityChangedEventArgs> ScreencastVisibilityChanged

Event Type

EventHandler<ScreencastVisibilityChangedEventArgs>

WindowOpen

windowOpen

public event EventHandler<WindowOpenEventArgs> WindowOpen

Event Type

EventHandler<WindowOpenEventArgs>