So I need to select desired element from one of the groups (that should not be inactive, OK).
When I'm selecting a group nothing occurs, no error and I don't see the the selected group opens.
Even for a moment.
But when I'm trying to select an element in previously clicked group I receive
org.openqa.selenium.ElementNotVisibleException: element not visible
So I understand that in the moment I'm clicking on desired element it is not visible since the group not appears
You can hover over the drop down to open it and then click on your element
// simulate mouse movement to the dropdown
Actions actions = new Actions(driver);
// wait for the element to be visible before clicking on it
WebDriverWait wait = new WebDriverWait(driver, 10);