Applescript / Javascript : select menu
You can filter the list of options for one with the text you're looking for, then select that one. This can be achieved with the following JavaScript:

Array.from(document.querySelector('select#reasonPopUpButton').children)
  .find(el =&gt; el.textContent == "Unauthorized purchase")
  .selected = true;