I'm trying to use automation to display more information on click of a "more details" link on a popup, but the link doesn't have any id associated with it. When I inspect the link in the Chrome console, it appears to be the "href="#myCollapse"" line in the associated element below. I don't really understand js but tried something like document.getElementById('#myCollapse'). click();...and try to use the child with id="popup-content".
SCOTTISH PARLIAMENT 1 HORSE WYND OLD TOWN
EDINBURGH
EH99 1SP
更多详情906423108
EDINBURGH
City of Edinburgh
Just use the following selector: