Attention deficit hyperactivity disorder (ADHD) is a common cognitive disorder affecting children. ADHD can interfere with educational, social, and emotional development, so early detection is essential for obtaining proper care. Standard ADHD diagnostic protocols rely heavily on subjective assessments of perceived behavior. An objective diagnostic measure would be a welcome development and potentially aid in accurately and efficiently diagnosing ADHD. Analysis of pupillary dynamics has been proposed as a promising alternative method of detecting affected individuals effectively. This study proposes a method based on the self-similarity of pupillary dynamics and assesses its strength as a potential diagnostic biomarker. Localized discriminatory features are developed in the wavelet domain and selected via a rolling window method to build classifiers. The application on a task-based pupil diameter time series dataset of children aged 10-12 years shows that the proposed method achieves greater than 78% accuracy in detecting ADHD. Comparing with a recent approach that constructs features in the original data domain, the proposed wavelet-based classifier achieves more accurate ADHD classification with fewer features. The findings suggest that the proposed diagnostic procedure involving interpretable wavelet-based self-similarity features of pupil diameter data can potentially aid in improving the efficacy of ADHD diagnosis.