createStyleSheet method
Creates a new special "via-inspector" stylesheet in the frame with given frameId
.
frameId
Identifier of the frame where "via-inspector" stylesheet should be created.
Returns: Identifier of the created "via-inspector" stylesheet.
Implementation
Future<StyleSheetId> createStyleSheet(page.FrameId frameId) async {
var result = await _client.send('CSS.createStyleSheet', {
'frameId': frameId,
});
return StyleSheetId.fromJson(result['styleSheetId'] as String);
}