func (p *GetPlatformFontsForNodeParams) Do(ctx context.Context) (fonts []*PlatformFontUsage, err error) {
	// execute
	var res GetPlatformFontsForNodeReturns
	err = cdp.Execute(ctx, CommandGetPlatformFontsForNode, p, &res)
	if err != nil {
		return nil, err
	}

	return res.Fonts, nil
}
func (p *GetPlatformFontsForNodeParams) Do(ctx context.Context) (fonts []*PlatformFontUsage, err error) {
	
	var res GetPlatformFontsForNodeReturns
	err = cdp.Execute(ctx, CommandGetPlatformFontsForNode, p, &res)
	if err != nil {
		return nil, err
	}

	return res.Fonts, nil
}
func ( p * GetPlatformFontsForNodeParams ) Do ( ctx context . Context ) ( fonts [ ] * PlatformFontUsage , err error ) { // execute var res GetPlatformFontsForNodeReturns err = cdp . Execute ( ctx , CommandGetPlatformFontsForNode , p , & res ) if err != nil { return nil , err } return res . Fonts , nil }
// Do executes CSS.getPlatformFontsForNode against the provided context.
//
// returns:
//   fonts - Usage statistics for every employed platform font.
Do executes CSS . getPlatformFontsForNode against the provided context . returns : fonts - Usage statistics for every employed platform font .