I am trying to automate the drop down in the attached image.
I used JavaScript and JavaScript executor to change the value. I was able to change the value but the value is not set once I click outside the drop down. Used
document.querySelector("div[ref='eDisplayField']").innerText='Red'
but the value is not changed completely.
Locating the values inside the drop down also is not possible, as it does not show anything on inspecting the values.
https://www.ag-grid.com/angular-data-grid/provided-cell-editors/#select-cell-editor is the URL and Select editor is the drop down.
Can someone help me to automate this using selenium?