func (a *CreateTargetArgs) SetBrowserContextID(browserContextID BrowserContextID) *CreateTargetArgs {
	a.BrowserContextID = &browserContextID
	return a
}
SetBrowserContextID sets the BrowserContextID optional argument.
The browser context to create the page in.
package target
type ActivateTargetArgs struct {
	TargetID ID `json:"targetId"`  
}
func NewActivateTargetArgs(targetID ID) *ActivateTargetArgs {
	args := new(ActivateTargetArgs)
	args.TargetID = targetID
	return args
}
type AttachToTargetArgs struct {
	TargetID ID `json:"targetId"`  
	Flatten *bool `json:"flatten,omitempty"`
}
func NewAttachToTargetArgs(targetID ID) *AttachToTargetArgs {
	args := new(AttachToTargetArgs)
	args.TargetID = targetID
	return args
}
func (a *AttachToTargetArgs) SetFlatten(flatten bool) *AttachToTargetArgs {
	a.Flatten = &flatten
	return a
}
type AttachToTargetReply struct {
	SessionID SessionID `json:"sessionId"`  
}
type AttachToBrowserTargetReply struct {
	SessionID SessionID `json:"sessionId"`  
}
type CloseTargetArgs struct {
	TargetID ID `json:"targetId"`  
}
func NewCloseTargetArgs(targetID ID) *CloseTargetArgs {
	args := new(CloseTargetArgs)
	args.TargetID = targetID
	return args
}
type CloseTargetReply struct {
	Success bool `json:"success"`  
}
type ExposeDevToolsProtocolArgs struct {
	TargetID    ID      `json:"targetId"`               
	BindingName *string `json:"bindingName,omitempty"`  
}
func NewExposeDevToolsProtocolArgs(targetID ID) *ExposeDevToolsProtocolArgs {
	args := new(ExposeDevToolsProtocolArgs)
	args.TargetID = targetID
	return args
}
func (a *ExposeDevToolsProtocolArgs) SetBindingName(bindingName string) *ExposeDevToolsProtocolArgs {
	a.BindingName = &bindingName
	return a
}
type CreateBrowserContextReply struct {
	BrowserContextID BrowserContextID `json:"browserContextId"`  
}
type GetBrowserContextsReply struct {
	BrowserContextIDs []BrowserContextID `json:"browserContextIds"`  
}
type CreateTargetArgs struct {
	URL              string            `json:"url"`                         
	Width            *int              `json:"width,omitempty"`             
	Height           *int              `json:"height,omitempty"`            
	BrowserContextID *BrowserContextID `json:"browserContextId,omitempty"`  
	EnableBeginFrameControl *bool `json:"enableBeginFrameControl,omitempty"`
	NewWindow               *bool `json:"newWindow,omitempty"`   
	Background              *bool `json:"background,omitempty"`  
}
func NewCreateTargetArgs(url string) *CreateTargetArgs {
	args := new(CreateTargetArgs)
	args.URL = url
	return args
}
func (a *CreateTargetArgs) SetWidth(width int) *CreateTargetArgs {
	a.Width = &width
	return a
}
func (a *CreateTargetArgs) SetHeight(height int) *CreateTargetArgs {
	a.Height = &height
	return a
}