getResourceContent method
Returns content of the given resource.
frameId
Frame id to get resource for.
url
URL of the resource to get content for.
Implementation
Future<GetResourceContentResult> getResourceContent(
FrameId frameId, String url) async {
var result = await _client.send('Page.getResourceContent', {
'frameId': frameId,
'url': url,
});
return GetResourceContentResult.fromJson(result);
}