// paginateCondition proceed except last page
paginateCondition proceed except last page
// paginateCondition proceed except last page
func paginateCondition(ctx context.Context, conf config.RabiConfig, job Job, father *cdp.Node) (goon bool, err error) {
	var (
		queryActions []chromedp.QueryOption
	)
	queryActions = append(queryActions, chromedp.ByQuery)
	if father != nil {
		queryActions = append(queryActions, chromedp.FromNode(father))
	}
	return ExecEventCondition(ctx, conf, job.Paginator.Condition, queryActions)
}
func paginateCondition ( ctx context . Context , conf config . RabiConfig , job Job , father * cdp . Node ) ( goon bool , err error ) { var ( queryActions [ ] chromedp . QueryOption ) queryActions = append ( queryActions , chromedp . ByQuery ) if father != nil { queryActions = append ( queryActions , chromedp . FromNode ( father ) ) } return ExecEventCondition ( ctx , conf , job . Paginator . Condition , queryActions ) }
paginateCondition proceed except last page
paginateCondition proceed except last page