func (p *AttachToTargetParams) Do(ctx context.Context) (sessionID SessionID, err error) {
	// execute
	var res AttachToTargetReturns
	err = cdp.Execute(ctx, CommandAttachToTarget, p, &res)
	if err != nil {
		return "", err
	}

	return res.SessionID, nil
}
func (p *AttachToTargetParams) Do(ctx context.Context) (sessionID SessionID, err error) {
	
	var res AttachToTargetReturns
	err = cdp.Execute(ctx, CommandAttachToTarget, p, &res)
	if err != nil {
		return "", err
	}

	return res.SessionID, nil
}
func ( p * AttachToTargetParams ) Do ( ctx context . Context ) ( sessionID SessionID , err error ) { // execute var res AttachToTargetReturns err = cdp . Execute ( ctx , CommandAttachToTarget , p , & res ) if err != nil { return " " , err } return res . SessionID , nil }
// Do executes Target.attachToTarget against the provided context.
//
// returns:
//   sessionID - Id assigned to the session.
Do executes Target . attachToTarget against the provided context . returns : sessionID - Id assigned to the session .