code: func (c *Target) SetAutoAttach(autoAttach bool, waitForDebuggerOnStart bool, flatten bool) (*gcdmessage.ChromeResponse, error) {
  	var v TargetSetAutoAttachParams
  	v.AutoAttach = autoAttach
  	v.WaitForDebuggerOnStart = waitForDebuggerOnStart
  	v.Flatten = flatten
  	return c.SetAutoAttachWithParams(&v)
  }
docs: // SetAutoAttach - Controls whether to automatically attach to new targets which are considered to be related to this one. When turned on, attaches to all existing related targets as well. When turned off, automatically detaches from all currently attached targets.
  // autoAttach - Whether to auto-attach to related targets.
  // waitForDebuggerOnStart - Whether to pause new targets when attaching to them. Use `Runtime.runIfWaitingForDebugger` to run paused targets.
  // flatten - Enables "flat" access to the session via specifying sessionId attribute in the commands.