web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Browser Automation - P...
Power Automate
Unanswered

Browser Automation - PAD Fails to Click on the Year/Month/Day Labels in Ionic Calendar Model

(0) ShareShare
ReportReport
Posted on by
Hi everyone,

I'm building a Power Automate Desktop (PAD) flow to automate date of birth entry into a carrier website, which uses an Ionic-style calendar modal for date selection. The date input doesn't allow direct input into the input box, you have to click on the year and then the month and then the day.

The calendar opens correctly, but PAD consistently fails to click the year label (e.g., “2025”) to switch to year selection mode. I've tried the following:
  • Capturing the year label directly with UI Elements
  • Using dynamic selectors (ion-modal[id*='ion-overlay']) and Matching innerText='%Year%'
  • Using Wait for UI Element before the click
The structure of the calendar appears to be deeply nested with dynamic shadow DOM components, and the click action either fails silently or throws a "UI Element Not Found" error.

My goal is to simulate a user clicking the year label (top-center of modal) to open the list of years for selection.

Has anyone successfully automated an Ionic calendar modal using PAD or found a stable workaround for accessing that year selector?

Any suggestions or example selectors that worked for others would be highly appreciated.
I have the same question (0)
  • Suggested answer
    eetuRobo Profile Picture
    4,204 Super User 2025 Season 2 on at
    • Using dynamic selectors (ion-modal[id*='ion-overlay']) and Matching innerText='%Year%'
    Have you made sure the innerText actually has exactly %Year% in it. So I assume you %Year% -variable has the value '2025'. Make sure its exactly that and not for example ' 2025 ' with spaces around it.


    Also try with operator Contains if that works



    The structure of the calendar appears to be deeply nested with dynamic shadow DOM components
    If thats the case then when inspecting go to settings:


    and make sure you have "Reveal DOM node on hover" enabled:


    Then inspect again and try to locate the year element.

    If these don't help please share screenshot of the UI selector you have captured and if the site you are automating is public please share that so I can try to build the selectors for you.

    Check out this thread for some tips to build a selector for a calendar in browser: https://community.powerplatform.com/forums/thread/details/?threadid=f6e172af-5929-f011-8c4e-7c1e52189d0f

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard