I have a textbox and typing "something" and I need to select that from below list, but I am unable to find a locator to select. When I tried to inspect on listed values, the list is disappearing. So I tried using directly inside type('something{enter}'), this is working manually and surprisingly not working in automation.
Can someone advice how to select this? My textbox and html is below


You can easily view the element with some basic debugging skills - in your test, open the dropdown, then issue command
Take a look at the console and observe the element structure for the best selector features (classes, ids, etc).
Maybe you just need to click after the code above if that text is unique.