Im trying to click on a link on a web page by using the link label text “SCOTTISH PARLIAMENT 1 HORSE WYND OLD TOWN EDINBURGH” but don’t seem to be able to find the correct code to select it.
Ive tried numerous ways to select it without any luck –
“document.querySelector(‘.autocomplete-items label[textContent=”
and all combinations I could think of but could do with some help if possible please.
Thanks for any assistance.