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

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

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