func (p *GetTargetInfoParams) Do(ctx context.Context) (targetInfo *Info, err error) {
	// execute
	var res GetTargetInfoReturns
	err = cdp.Execute(ctx, CommandGetTargetInfo, p, &res)
	if err != nil {
		return nil, err
	}

	return res.TargetInfo, nil
}
func (p *GetTargetInfoParams) Do(ctx context.Context) (targetInfo *Info, err error) {
	
	var res GetTargetInfoReturns
	err = cdp.Execute(ctx, CommandGetTargetInfo, p, &res)
	if err != nil {
		return nil, err
	}

	return res.TargetInfo, nil
}
func ( p * GetTargetInfoParams ) Do ( ctx context . Context ) ( targetInfo * Info , err error ) { // execute var res GetTargetInfoReturns err = cdp . Execute ( ctx , CommandGetTargetInfo , p , & res ) if err != nil { return nil , err } return res . TargetInfo , nil }
// Do executes Target.getTargetInfo against the provided context.
//
// returns:
//   targetInfo
Do executes Target . getTargetInfo against the provided context . returns : targetInfo