This is the drop-down.
<select
id="identity.dvsSourceList.0.issuingState.value"
name="identity.dvsSourceList.0.issuingState.value"
class="native black-60"
required=""
data-invalid=""
>
<option value="">Please select</option>
<option value="ACT">ACT</option>
<option value="NSW">NSW</option>
<option value="NT">NT</option>
<option value="QLD">QLD</option>
<option value="SA">SA</option>
<option value="TAS">TAS</option>
<option value="VIC">VIC</option>
<option value="WA">WA</option>
</select>
I tried executing this:
document.querySelector('identity.dvsSourceList.0.issuingState.value').value= "VIC";
But it gave this error:
VM252:1 Uncaught DOMException: Failed to execute 'querySelector' on 'Document': 'identity.dvsSourceList.0.issuingState.value' is not a valid selector.
at <anonymous>:1:10