func (p *ProfileSnapshotParams) Do(ctx context.Context) (timings []PaintProfile, err error) {
	// execute
	var res ProfileSnapshotReturns
	err = cdp.Execute(ctx, CommandProfileSnapshot, p, &res)
	if err != nil {
		return nil, err
	}

	return res.Timings, nil
}
func (p *ProfileSnapshotParams) Do(ctx context.Context) (timings []PaintProfile, err error) {
	
	var res ProfileSnapshotReturns
	err = cdp.Execute(ctx, CommandProfileSnapshot, p, &res)
	if err != nil {
		return nil, err
	}

	return res.Timings, nil
}
func ( p * ProfileSnapshotParams ) Do ( ctx context . Context ) ( timings [ ] PaintProfile , err error ) { // execute var res ProfileSnapshotReturns err = cdp . Execute ( ctx , CommandProfileSnapshot , p , & res ) if err != nil { return nil , err } return res . Timings , nil }
// Do executes LayerTree.profileSnapshot against the provided context.
//
// returns:
//   timings - The array of paint profiles, one per run.
Do executes LayerTree . profileSnapshot against the provided context . returns : timings - The array of paint profiles one per run .