code: func (c *DOMSnapshot) GetSnapshot(computedStyleWhitelist []string, includeEventListeners bool, includePaintOrder bool, includeUserAgentShadowTree bool) ([]*DOMSnapshotDOMNode, []*DOMSnapshotLayoutTreeNode, []*DOMSnapshotComputedStyle, error) {
  	var v DOMSnapshotGetSnapshotParams
  	v.ComputedStyleWhitelist = computedStyleWhitelist
  	v.IncludeEventListeners = includeEventListeners
  	v.IncludePaintOrder = includePaintOrder
  	v.IncludeUserAgentShadowTree = includeUserAgentShadowTree
  	return c.GetSnapshotWithParams(&v)
  }
docs: // GetSnapshot - Returns a document snapshot, including the full DOM tree of the root node (including iframes, template contents, and imported documents) in a flattened array, as well as layout and white-listed computed style information for the nodes. Shadow DOM in the returned DOM tree is flattened.
  // computedStyleWhitelist - Whitelist of computed styles to return.
  // includeEventListeners - Whether or not to retrieve details of DOM listeners (default false).
  // includePaintOrder - Whether to determine and include the paint order index of LayoutTreeNodes (default false).
  // includeUserAgentShadowTree - Whether to include UA shadow tree in the snapshot (default false).
  // Returns -  domNodes - The nodes in the DOM tree. The DOMNode at index 0 corresponds to the root document. layoutTreeNodes - The nodes in the layout tree. computedStyles - Whitelisted ComputedStyle properties for each node in the layout tree.