Getting Element is not interactable although it clicks the dropdown
Can some one pls help
Below is the html:
<div id="meetingDatesForm:meetingDatesTable:6:j_idt310" class="ui-selectonemenu ui-widget ui-state-default ui-corner-all widthLarge" role="combobox" aria-haspopup="true" aria-expanded="true" aria-owns="meetingDatesForm:meetingDatesTable:6:j_idt310_items"><div class="ui-helper-hidden-accessible"><input id="meetingDatesForm:meetingDatesTable:6:j_idt310_focus" name="meetingDatesForm:meetingDatesTable:6:j_idt310_focus" type="text" autocomplete="off" aria-expanded="true" aria-autocomplete="list" aria-activedescendant="meetingDatesForm:meetingDatesTable:6:j_idt310_2" aria-describedby="meetingDatesForm:meetingDatesTable:6:j_idt310_2" aria-disabled="false"></div>
<div class="ui-helper-hidden-accessible"><select id="meetingDatesForm:meetingDatesTable:6:j_idt310_input" name="meetingDatesForm:meetingDatesTable:6:j_idt310_input" tabindex="-1" aria-hidden="true"><option value="" data-escape="true">Select one...</option><option value="3" data-escape="true">Board</option><option value="140" selected="selected" data-escape="true">Commission S</option><option value="2" data-escape="true">Commission I</option><option value="219" data-escape="true">Commission F</option></select></div><label id="meetingDatesForm:meetingDatesTable:6:j_idt310_label" class="ui-selectonemenu-label ui-inputfield ui-corner-all">Commission S</label>
//on selecting the dropdown button the below code gets hightlighted
<div class="ui-selectonemenu-trigger ui-state-default ui-corner-right"><span class="ui-icon ui-icon-triangle-1-s ui-c"></span></div></div></div>
This is my Xpath: Can some one pls guide
String MeetingType = "//*[@id='meetingDatesForm:meetingDatesTable_data']/tr["+(i+1)+"]/td[3]//div[3]";
PageUtil.clickdropdown(driver, MeetingType);
String meetingTypeXpath = AppXPathsConstants.meetingOptiponXpath_replace.replace("XXXXX", formEntryMap.get("Edit : Meeting Type"));
WebElement meetingTypeElm = DriverUtil.getFluentWaitElementByXPath(meetingTypeXpath, 50, driver);
meetingTypeElm.click();
meetingTypeElm.sendKeys(Keys.ENTER);