Announcements
I'm trying to use Power Automate desktop to test my PowerApps. However, when I try to use Power Automate desktop to click a page element with a selector such as: #spLeftNav > div.ms-FocusZone.css-81 > nav > div > div > ul > li:nth-child(3) > div > a
My test fails because the HTML element is within and iFrame. How can I access the PowerApps UI element even though they are contained within an iFrame?
hi @Jsquared just a quick question did you use the web recorder or ui automation components. often the iframes do not work with the web recorder. by using the ui components the automation seems much better.
Yes @rubin_boer I have used the UI components. You are correct, the Web recorder does not work with iFrames. But I have found the UI component very unreliable. So, I want to start to create my own selectors. A workaround for this would be to simply visit the iFrame url. However, I have tried this and it does not work =( The url looks something like this:
<iframe class="publishedAppIframe" tabindex="0" aria-hidden="false" id="fullscreen-app-host" scrolling="no" frameborder="0" name="fullscreen-app-host" src="https://pa-content.azureedge.net/resource/webplayerdynamic/publishedapp/preloadindex?preloadIndexPath=https%3A%2F%2Fcontent.powerapps.com%2Fresource%2Fapp%2Ft7tv66lp87kbf%2Fpreloadindex.web.html&PowerAppsLanguage=en-US&loader=inline&lv=724pdq00ui8j4&serviceWorkerUrl=https%3A%2F%2Fpa-content.azureedge.net%2Fresource%2Fwebplayer%2Fhashedresources%2F9d51pg38963fb%2Fjs%2FPowerAppsServiceWorker.PublishedApp.js&piv=796D32DE&featureGates={"publishedAppServiceWorker":false}#%7B%22platform%22%3A%22notwindows%22%2C%22hideNavBar%22%3A%22true%22%2C%22antiCSRFToken%22%3A%227338ecae-6076-4975-a638-dcb7a69377c5%22%2C%22cdnUrl%22%3A%22https%3A%2F%2Fcontent.powerapps.com%2Fresource%2Fapp%22%2C%22paramsQuery%22%3A%22tenantId%3D554969da-6027-40e0-ade5-0e2e47ebee54%26source%3Dportal%26screenColor%3Drgba%280%252C%2520176%252C%2520240%252C%25201%29%26appId%3D%2Fproviders%2FMicrosoft.PowerApps%2Fapps%2Fd3dsfeaf4-4f5d-44sf1-8385-88ffd85925115%22%2C%22iframeMode%22%3Anull%2C%22packagePropertiesVersion%22%3A%222.1%22%2C%22staticContentProxy%22%3A%22https%3A%2F%2Fcontent.powerapps.com%2Fresource%2Fwebplayerdynamic%2Fproxy%2Fstaticcontent%3FstaticContentPath%3D%22%2C%22launchFunctionUrlFormat%22%3A%22https%3A%2F%2Fapps.powerapps.com%2Fplay%2F%7B0%7D%22%2C%22region%22%3A%22prod%22%2C%22staticContentUrl%22%3A%22https%3A%2F%2Fstatic.powerapps.com%22%7D" allow="geolocation; microphone; camera; fullscreen" style="" title="ConcurrentWorkflow"></iframe>
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 551
WarrenBelz 430 Most Valuable Professional
Valantis 298