How to resolve this problem? - Unable to select option by value

My guess is, you’re not targeting a SELECT element with OPTION elements inside it.

But I can only guess until you provide more information: