func (p *GetFlattenedDocumentParams) Do(ctx context.Context) (nodes []*cdp.Node, err error) {
	// execute
	var res GetFlattenedDocumentReturns
	err = cdp.Execute(ctx, CommandGetFlattenedDocument, p, &res)
	if err != nil {
		return nil, err
	}

	return res.Nodes, nil
}
func (p *GetFlattenedDocumentParams) Do(ctx context.Context) (nodes []*cdp.Node, err error) {
	
	var res GetFlattenedDocumentReturns
	err = cdp.Execute(ctx, CommandGetFlattenedDocument, p, &res)
	if err != nil {
		return nil, err
	}

	return res.Nodes, nil
}
func ( p * GetFlattenedDocumentParams ) Do ( ctx context . Context ) ( nodes [ ] * cdp . Node , err error ) { // execute var res GetFlattenedDocumentReturns err = cdp . Execute ( ctx , CommandGetFlattenedDocument , p , & res ) if err != nil { return nil , err } return res . Nodes , nil }
// Do executes DOM.getFlattenedDocument against the provided context.
//
// returns:
//   nodes - Resulting node.
Do executes DOM . getFlattenedDocument against the provided context . returns : nodes - Resulting node .