'How can I choose from a menu using Selenium with Python and chromedriver
I'm trying to automate a login thing... everything was alright until I came upon a dropdown menu but it's not the normal select class.
Here's what I see, I'm trying to get the "aria-label" to change from Offline to EUC or to something else but I can't seem to find how to do it.
<div data-testid="agent-status-current" id="agent-status-current" aria-label="EUC" class="SelectedOption-sc-108vfbt-3 hLmeiz">EUC</div>
<div data-testid="agent-status-current" id="agent-status-current" aria-label="Bio Break" class="SelectedOption-sc-108vfbt-3 hLmeiz">Bio Break</div>
I already tried passing clicks and trying to choose directly but it's not doing anything... Any help?
This is how it the dropdown looks and the circled are the two states I need to change between

Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
