Medium locator: csslocator: aria-role action: clickaction: select

Custom (Div-Based) Dropdown

A JS-built dropdown with no native `<select>` — clicking opens a listbox you must locate by role, not tag.

This is a JS-built dropdown, not a native <select>cy.select() / selectByVisibleText() won't work here. It's built with real role="combobox" and role="listbox" semantics, so ARIA-role locators will.

Framework notes

  • cypress — `cy.select()` only works on real `<select>` elements — this needs click + click-option instead.