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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to Click Datepicker.
Power Automate
Answered

How to Click Datepicker.

(0) ShareShare
ReportReport
Posted on by 12

hi everyone,

 

I need to click "datepicker" in PAD. I wish I could type directly into the text input, but In my case that's not allowed.

I need to select a date(=icon of number) in the Datepicker UI.

If you know how to do it, can you tell me?

 

↓DatePicker

https://irs.thsrc.com.tw/IMINT/;jsessionid=9FF3E77184E1450A4DEFAF0F7BF5ABD1?wicket:bookmarkablePage=:tw.com.mitac.webapp.thsr.viewer.QueryPNR

 

ksdpm_0-1671772530989.png

I have the same question (0)
  • Kabilesh Profile Picture
    177 on at

    Hi @ksdpm 

     

    Do you need to select current date or a dynamic date value?

     

    Best Regards,

    VK

  • ksdpm Profile Picture
    12 on at

    dynamic date value

  • Verified answer
    kinuasa Profile Picture
    801 Most Valuable Professional on at

    The target website uses flatpickr. I suggest to set the date using JavaScript as shown below.

     

    document.getElementById('toTimeInputField')._flatpickr.setDate('2023-01-14', true);

    * Change the date as appropriate.

     

    Sample Flow:

    WebAutomation.LaunchEdge.LaunchEdge Url: $'''https://irs.thsrc.com.tw/IMINT/?wicket:bookmarkablePage=:tw.com.mitac.webapp.thsr.viewer.QueryPNR''' WindowState: WebAutomation.BrowserWindowState.Normal ClearCache: True ClearCookies: True WaitForPageToLoadTimeout: 60 Timeout: 60 BrowserInstance=> Browser
    WebAutomation.ExecuteJavascript BrowserInstance: Browser Javascript: $'''function ExecuteScript() {document.getElementById(\'toTimeInputField\')._flatpickr.setDate(\'2023-01-14\', true);}''' Result=> Result

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 258 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 198 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 136 Super User 2026 Season 2

Last 30 days Overall leaderboard