setCapabilities method

Future<void> setCapabilities(
  1. List<String> capabilities
)

Sets the enabled capabilities for the session

Throws a PlatformException if capabilities cannot be activated (e.g. no network).

Implementation

Future<void> setCapabilities(List<String> capabilities) async {
  Map updatedSession =
      await CobrowseIO.instance._setSessionCapabilities(this, capabilities);
  _fill(updatedSession);
}