Below is the code snippet for a drop-down:
<div class="w-1/2 px-8 pt-6">
<div class="Styled__FieldWrapper-sc-1fqfnqk-1 bQZNMa mb-6">
<label class="form-label" for="transfer.account">Transfer Account</label>
<div class=" css-2b097c-container">
<span aria-live="polite" aria-atomic="false" aria-relevant="additions text" class="css-7pg0cj-a11yText"></span>
<div class=" css-yk16xz-control">
<div class=" css-1hwfws3">
<div class=" css-1uccc91-singleValue"></div>
<div class="css-1g6gooi">
<div class="" style="display: inline-block;">
<input autocapitalize="none" autocomplete="off" autocorrect="off" id="react-select-2-input" spellcheck="false" tabindex="0" type="text" aria-autocomplete="list" value="" style="box-sizing: content-box; width: 2px; background: 0px center; border: 0px; font-size: inherit; opacity: 1; outline: 0px; padding: 0px; color: inherit;" class="">
<div style="position: absolute; top: 0px; left: 0px; visibility: hidden; height: 0px; overflow: scroll; white-space: pre; font-size: 15px; font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-weight: 400; font-style: normal; letter-spacing: normal; text-transform: none;"></div>
...
<p>The methods I tried are:</p>
<pre><code> By.xpath("//input[@id='react-select-15-input']")).click();
or
By.id( "react-select-15-input")).sendKeys("David Messi");
Unfortunately, I have not been successful in selecting the dropdown via Selenium. Any suggestions?