Banner 9 select2 term picker: li and role=option both match
Ellucian Banner 9 StudentRegistrationSSB uses select2 3.x, which renders each result as <li class="select2-result-selectable" role="presentation"> wrapping <div class="select2-result-label" role="option">. A Playwright locator like '#select2-drop .select2-result-selectable, [role=listbox] [role=option]' filtered by text matches both elements, so a uniqueness check (count() === 1) fails on every term. Use the li when #select2-drop is visible and the ARIA option list only otherwise. UIUC term labels are 'Spring 2027 - Urbana-Champaign' and 'Winter 2026-2027 Urbana-Chmpgn'; the public list is at classSearch/getTerms after a session cookie from classSearch/classSearch?mepCode=1UIUC. Even Browse Classes requires sign-in at UIUC, so check the markup in Banner's bannerWeb JS bundle instead.