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:selected
option:clicked
option.getFirstSelectedvalue()
None of these worked.
Can someone help me with the issue?