func (p *CollectClassNamesFromSubtreeParams) Do(ctx context.Context) (classNames []string, err error) {
	// execute
	var res CollectClassNamesFromSubtreeReturns
	err = cdp.Execute(ctx, CommandCollectClassNamesFromSubtree, p, &res)
	if err != nil {
		return nil, err
	}

	return res.ClassNames, nil
}
func (p *CollectClassNamesFromSubtreeParams) Do(ctx context.Context) (classNames []string, err error) {
	
	var res CollectClassNamesFromSubtreeReturns
	err = cdp.Execute(ctx, CommandCollectClassNamesFromSubtree, p, &res)
	if err != nil {
		return nil, err
	}

	return res.ClassNames, nil
}
func ( p * CollectClassNamesFromSubtreeParams ) Do ( ctx context . Context ) ( classNames [ ] string , err error ) { // execute var res CollectClassNamesFromSubtreeReturns err = cdp . Execute ( ctx , CommandCollectClassNamesFromSubtree , p , & res ) if err != nil { return nil , err } return res . ClassNames , nil }
// Do executes DOM.collectClassNamesFromSubtree against the provided context.
//
// returns:
//   classNames - Class name list.
Do executes DOM . collectClassNamesFromSubtree against the provided context . returns : classNames - Class name list .