getAdScriptId method
Returns: Identifies the bottom-most script which caused the frame to be labelled as an ad. Only sent if frame is labelled as an ad and id is available.
Implementation
Future<AdScriptId> getAdScriptId(FrameId frameId) async {
var result = await _client.send('Page.getAdScriptId', {'frameId': frameId});
return AdScriptId.fromJson(result['adScriptId'] as Map<String, dynamic>);
}