Class WebMCP
java.lang.Object
org.openqa.selenium.devtools.v150.webmcp.WebMCP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.openqa.selenium.devtools.Command<Void> cancelInvocation(String invocationId) Cancels a pending tool invocation.static org.openqa.selenium.devtools.Command<Void> disable()Disables the WebMCP domain.static org.openqa.selenium.devtools.Command<Void> enable()Enables the WebMCP domain, allowing events to be sent.static org.openqa.selenium.devtools.Command<String> Invokes a registered tool.static org.openqa.selenium.devtools.Event<ToolInvoked> static org.openqa.selenium.devtools.Event<ToolResponded> static org.openqa.selenium.devtools.Event<List<RemovedTool>>
-
Constructor Details
-
WebMCP
public WebMCP()
-
-
Method Details
-
enable
Enables the WebMCP domain, allowing events to be sent. Enabling the domain will trigger a toolsAdded event for all currently registered tools. -
disable
Disables the WebMCP domain. -
invokeTool
-
cancelInvocation
-
toolsAdded
-
toolsRemoved
-
toolInvoked
-
toolResponded
-