Namespace OpenQA.Selenium.DevTools.V147.Target
Classes
- ActivateTargetCommandResponse
Response for Activates (focuses) the target.
- ActivateTargetCommandSettings
Activates (focuses) the target.
- AttachToBrowserTargetCommandResponse
Response for Attaches to the browser target, only uses flat sessionId mode.
- AttachToBrowserTargetCommandSettings
Attaches to the browser target, only uses flat sessionId mode.
- AttachToTargetCommandResponse
Response for Attaches to the target with given id.
- AttachToTargetCommandSettings
Attaches to the target with given id.
- AttachedToTargetEventArgs
Issued when attached to target because of auto-attach or
attachToTargetcommand.
- AutoAttachRelatedCommandResponse
Response for Adds the specified target to the list of targets that will be monitored for any related target creation (such as child frames, child workers and new versions of service worker) and reported through
attachedToTarget. The specified target is also auto-attached. This cancels the effect of any previoussetAutoAttachand is also cancelled by subsequentsetAutoAttach. Only available at the Browser target.
- AutoAttachRelatedCommandSettings
Adds the specified target to the list of targets that will be monitored for any related target creation (such as child frames, child workers and new versions of service worker) and reported through
attachedToTarget. The specified target is also auto-attached. This cancels the effect of any previoussetAutoAttachand is also cancelled by subsequentsetAutoAttach. Only available at the Browser target.
- CloseTargetCommandResponse
Response for Closes the target. If the target is a page that gets closed too.
- CloseTargetCommandSettings
Closes the target. If the target is a page that gets closed too.
- CreateBrowserContextCommandResponse
Response for Creates a new empty BrowserContext. Similar to an incognito profile but you can have more than one.
- CreateBrowserContextCommandSettings
Creates a new empty BrowserContext. Similar to an incognito profile but you can have more than one.
- CreateTargetCommandResponse
Response for Creates a new page.
- CreateTargetCommandSettings
Creates a new page.
- DetachFromTargetCommandResponse
Response for Detaches session with given id.
- DetachFromTargetCommandSettings
Detaches session with given id.
- DetachedFromTargetEventArgs
Issued when detached from target for any reason (including
detachFromTargetcommand). Can be issued multiple times per target if multiple sessions have been attached to it.
- DisposeBrowserContextCommandResponse
Response for Deletes a BrowserContext. All the belonging pages will be closed without calling their beforeunload hooks.
- DisposeBrowserContextCommandSettings
Deletes a BrowserContext. All the belonging pages will be closed without calling their beforeunload hooks.
- ExposeDevToolsProtocolCommandResponse
Response for Inject object to the target's main frame that provides a communication channel with browser target.
Injected object will be available as
window[bindingName].The object has the following API:
binding.send(json)- a method to send messages over the remote debugging protocolbinding.onmessage = json => handleMessage(json)- a callback that will be called for the protocol notifications and command responses.
- ExposeDevToolsProtocolCommandSettings
Inject object to the target's main frame that provides a communication channel with browser target.
Injected object will be available as
window[bindingName].The object has the following API:
binding.send(json)- a method to send messages over the remote debugging protocolbinding.onmessage = json => handleMessage(json)- a callback that will be called for the protocol notifications and command responses.
- FilterEntry
A filter used by target query/discovery/auto-attach operations.
- GetBrowserContextsCommandResponse
Response for Returns all browser contexts created with
Target.createBrowserContextmethod.
- GetBrowserContextsCommandSettings
Returns all browser contexts created with
Target.createBrowserContextmethod.
- GetDevToolsTargetCommandResponse
Response for Gets the targetId of the DevTools page target opened for the given target (if any).
- GetDevToolsTargetCommandSettings
Gets the targetId of the DevTools page target opened for the given target (if any).
- GetTargetInfoCommandResponse
Response for Returns information about a target.
- GetTargetInfoCommandSettings
Returns information about a target.
- GetTargetsCommandResponse
Response for Retrieves a list of available targets.
- GetTargetsCommandSettings
Retrieves a list of available targets.
- OpenDevToolsCommandResponse
Response for Opens a DevTools window for the target.
- OpenDevToolsCommandSettings
Opens a DevTools window for the target.
- ReceivedMessageFromTargetEventArgs
Notifies about a new protocol message received from the session (as reported in
attachedToTargetevent).
- RemoteLocation
RemoteLocation
- SendMessageToTargetCommandResponse
Response for Sends protocol message over session with given id. Consider using flat mode instead; see commands attachToTarget, setAutoAttach, and crbug.com/991325.
- SendMessageToTargetCommandSettings
Sends protocol message over session with given id. Consider using flat mode instead; see commands attachToTarget, setAutoAttach, and crbug.com/991325.
- SetAutoAttachCommandResponse
Response for Controls whether to automatically attach to new targets which are considered to be directly related to this one (for example, iframes or workers). When turned on, attaches to all existing related targets as well. When turned off, automatically detaches from all currently attached targets. This also clears all targets added by
autoAttachRelatedfrom the list of targets to watch for creation of related targets. You might want to call this recursively for auto-attached targets to attach to all available targets.
- SetAutoAttachCommandSettings
Controls whether to automatically attach to new targets which are considered to be directly related to this one (for example, iframes or workers). When turned on, attaches to all existing related targets as well. When turned off, automatically detaches from all currently attached targets. This also clears all targets added by
autoAttachRelatedfrom the list of targets to watch for creation of related targets. You might want to call this recursively for auto-attached targets to attach to all available targets.
- SetDiscoverTargetsCommandResponse
Response for Controls whether to discover available targets and notify via
targetCreated/targetInfoChanged/targetDestroyedevents.
- SetDiscoverTargetsCommandSettings
Controls whether to discover available targets and notify via
targetCreated/targetInfoChanged/targetDestroyedevents.
- SetRemoteLocationsCommandResponse
Response for Enables target discovery for the specified locations, when
setDiscoverTargetswas set totrue.
- SetRemoteLocationsCommandSettings
Enables target discovery for the specified locations, when
setDiscoverTargetswas set totrue.
- TargetAdapter
Represents an adapter for the Target domain to simplify the command interface.
- TargetCrashedEventArgs
Issued when a target has crashed.
- TargetCreatedEventArgs
Issued when a possible inspection target is created.
- TargetDestroyedEventArgs
Issued when a target is destroyed.
- TargetInfo
TargetInfo
- TargetInfoChangedEventArgs
Issued when some information about a target has changed. This only happens between
targetCreatedandtargetDestroyed.
Enums
- WindowState
The state of the target window.