executeDevToolsMethod
Execute a method call over the DevTools protocol. See the DevTools protocol documentation for details of supported methods and the expected syntax for parameters.
If an error occurs the returned future is completed exceptionally, otherwise its value is asynchronously set to the method result.
Call addEventListener to subscribe to events.
Return
return a future with the method result if the method was executed successfully
Parameters
the method name
Execute a method call over the DevTools protocol. See the DevTools protocol documentation for details of supported methods and the expected syntax for parameters.
If an error occurs the returned future is completed exceptionally, otherwise its value is asynchronously set to the method result.
Call addEventListener to subscribe to events.
Return
return a future with the method result if the method was executed successfully
Parameters
the method name
JSON object with parameters, or null if no parameters are needed