Not able to Select the Dropdown value by using select option by value

@shahida.zahid This error is caused when you are trying to use either selectOptionByLabel or selectOptionByValue on an element that is NOT a select. If you can review the attributes of the element you will see that the tag attribute is NOT a select. Look at the page’s code for this element and check if it is a select or perhaps a search input.

And NO, you cannot just change the tag to be select because then the TestObject will not be found if it is not actually one.

See this question as well: