func (c *Target) ActivateTarget(targetId string) (*gcdmessage.ChromeResponse, error) {
	var v TargetActivateTargetParams
	v.TargetId = targetId
	return c.ActivateTargetWithParams(&v)
}
ActivateTarget - Activates (focuses) the target.
targetId -
package gcdapi
import (
	"encoding/json"
	"github.com/wirepair/gcd/gcdmessage"
)
type TargetTargetInfo struct {
	TargetId         string `json:"targetId"`                    
	Type             string `json:"type"`                        
	Title            string `json:"title"`                       
	Url              string `json:"url"`                         
	Attached         bool   `json:"attached"`                    
	OpenerId         string `json:"openerId,omitempty"`          
	BrowserContextId string `json:"browserContextId,omitempty"`  
}
type TargetRemoteLocation struct {
	Host string `json:"host"`  
	Port int    `json:"port"`  
}
type TargetAttachedToTargetEvent struct {
	Method string `json:"method"`
	Params struct {
		SessionId          string            `json:"sessionId"`           
		TargetInfo         *TargetTargetInfo `json:"targetInfo"`          
		WaitingForDebugger bool              `json:"waitingForDebugger"`  
	} `json:"Params,omitempty"`
}
type TargetDetachedFromTargetEvent struct {
	Method string `json:"method"`
	Params struct {
		SessionId string `json:"sessionId"`           
		TargetId  string `json:"targetId,omitempty"`  
	} `json:"Params,omitempty"`
}
type TargetReceivedMessageFromTargetEvent struct {
	Method string `json:"method"`
	Params struct {
		SessionId string `json:"sessionId"`           
		Message   string `json:"message"`             
		TargetId  string `json:"targetId,omitempty"`  
	} `json:"Params,omitempty"`
}
type TargetTargetCreatedEvent struct {
	Method string `json:"method"`
	Params struct {
		TargetInfo *TargetTargetInfo `json:"targetInfo"`  
	} `json:"Params,omitempty"`
}
type TargetTargetDestroyedEvent struct {
	Method string `json:"method"`
	Params struct {
		TargetId string `json:"targetId"`  
	} `json:"Params,omitempty"`
}
type TargetTargetCrashedEvent struct {
	Method string `json:"method"`
	Params struct {
		TargetId  string `json:"targetId"`   
		Status    string `json:"status"`     
		ErrorCode int    `json:"errorCode"`  
	} `json:"Params,omitempty"`
}
type TargetTargetInfoChangedEvent struct {
	Method string `json:"method"`
	Params struct {
		TargetInfo *TargetTargetInfo `json:"targetInfo"`  
	} `json:"Params,omitempty"`
}
type Target struct {
	target gcdmessage.ChromeTargeter
}
func NewTarget(target gcdmessage.ChromeTargeter) *Target {
	c := &Target{target: target}
	return c
}
type TargetActivateTargetParams struct {
	TargetId string `json:"targetId"`
}
func (c *Target) ActivateTargetWithParams(v *TargetActivateTargetParams) (*gcdmessage.ChromeResponse, error) {
	return gcdmessage.SendDefaultRequest(c.target, c.target.GetSendCh(), &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Target.activateTarget", Params: v})
}