Really struggling using a web automation action that clicks link / UI element in Edge.
Using the Inspect tool in Edge, the selector is:
body > div.spa-container > div:nth-child(6) > form > div > div.ms-nav-layout-content.thm-cont-g0-bgcolor-1 > nav > div > div > nav > div.navigation-bar-row-container--1bEQIeDuoWP7xAdsmp4MFs.home-action-container--2Ldy4iTiUBKOd3EbS4fRW6 > div > div.ms-nav-layout-content > div > div > div > div.ms-FocusZone.row-responsive--1x5-qMvE_ZVev_4FpmgaWk > div > div > div:nth-child(5) > div > button > div.caption--20PrttGVw_09n9_mM8YKgm > span > span
and the outerHTML is:
<span aria-label="Salg">Salg</span>
In the UI Builder tool of PA Desktop I've tried 287 variations (mind you I'm no expert on the syntax) including this simple version:
span[aria-label="Salg"]
Can someone explain what I'm doing wrong and steer me the right way? Thank you, much appreciated.