Interface IDevTools
Interface indicating the driver supports the Chrome DevTools Protocol.
public interface IDevTools
Properties
HasActiveDevToolsSession
Gets a value indicating whether a DevTools session is active.
bool HasActiveDevToolsSession { get; }
Property Value
Methods
CloseDevToolsSession()
Closes a DevTools session
void CloseDevToolsSession()
GetDevToolsSession()
Creates a session to communicate with a browser using a Developer Tools debugging protocol.
DevToolsSession GetDevToolsSession()
Returns
- DevToolsSession
The active session to use to communicate with the Developer Tools debugging protocol.
GetDevToolsSession(DevToolsOptions)
Creates a session to communicate with a browser using a specific version of the Developer Tools debugging protocol.
DevToolsSession GetDevToolsSession(DevToolsOptions options)
Parameters
options
DevToolsOptionsThe options for the DevToolsSession to use.
Returns
- DevToolsSession
The active session to use to communicate with the Developer Tools debugging protocol.
GetDevToolsSession(int)
Creates a session to communicate with a browser using a specific version of the Developer Tools debugging protocol.
[Obsolete("Use GetDevToolsSession(DevToolsOptions options)")]
DevToolsSession GetDevToolsSession(int protocolVersion)
Parameters
protocolVersion
intThe specific version of the Developer Tools debugging protocol to use.
Returns
- DevToolsSession
The active session to use to communicate with the Developer Tools debugging protocol.