When i am trying to select an option from dropdown list i am getting the error \"Element should have been \"select\" but was \"a\" \" Below is my source code :
The Select class only works with tags that contain tags. If you have any other tag, it doesn't matter if it behaves like a would, it will be rejected.
Select
The error is telling you this. You are giving it an tag.