-1

I am trying to automate the drop down in the attached image. Drop down angular

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?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.