How to get selected HTML dropdown value in protractor selenium?
It's printing all dropdown values instead of selected value.
I have tried the following ways:
option:selectedoption:clickedoption.getFirstSelectedvalue()
None of these worked.
Can someone help me with the issue?