getBrowser method

Future<GetBrowserResponse> getBrowser({
  1. required String browserId,
})

Gets information about a custom browser.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ServiceQuotaExceededException. May throw ThrottlingException.

Parameter browserId : The unique identifier of the browser to retrieve.

Implementation

Future<GetBrowserResponse> getBrowser({
  required String browserId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/browsers/${Uri.encodeComponent(browserId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetBrowserResponse.fromJson(response);
}