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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Click button/link on w...
Power Automate
Unanswered

Click button/link on webpage not working - Using Javascript function

(0) ShareShare
ReportReport
Posted on by 4

Hi all

 

I've found that the click button/link on webpage has not been working on certain web items (when emulating clicks) so I've been running a JavaScript function as a workaround, but I've encountered an element where this isn't working either.

 

I've been using the below as an example.

 

function ExecuteScript() { document.querySelectorAll ('a[Id="ctl00_ctl00_MiddleContent_MainContent_lbFundsSent"')[0].click(); }

 

The link I'm currently having issues with is slightly different as when I'm viewing the details of it it displays a href rather than an ID: ,<a href="javascript&colon;__doPostBack('ctl00$ContentPlaceHolder1$uiSchedule','Edit$0')"> , so when replacing the content with this it doesn't work.

 

Any idea how to make this work? As the click link/button function doesn't work and I can't send physical clicks whilst on a VM.

 

Thanks!

 

 

 

Categories:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard