sindresorhus / caprine

Elegant Facebook Messenger desktop app
MIT License
7.04k stars 557 forks source link

Update selector for chat view menu #2182

Open mquevill opened 5 months ago

mquevill commented 5 months ago

Using "role=navigation" is no longer unique enough to get the view menu. This led to 7 match results (at least in my case) for '[role=navigation] > div > div', which defaults to the selectMenuItem() use case.

[The users' interfaces seem to be more unified now, so we could consider eliminating the "new sidebar" checks too, since those may be artifacts from multiple versions ago.]

Fixes #2178.