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 / click link on web page...
Power Automate
Unanswered

click link on web page or press button on wegpage commands are not working

(0) ShareShare
ReportReport
Posted on by 82

Hi experts,

 

Im getting following message when I use click link on web page or press button on wegpage commands . Im using web browser instance in command. Im trying click on below element.. Any Suggestions 

Shashankpuli_0-1618419015749.png  

Shashankpuli_1-1618419140103.png

 

 

Error message 

Robin.Core.ActionException: Click link on web page failed. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Robin.Modules.WebAutomation.Actions.WebAutomationRuntime.ClickLinkOnWebPage(WebBrowserInstanceVariant webBrowserInstanceVariant, TextVariant cssSelectorForLinkElement, Boolean waitForPageToLoad, TextVariant dialogButtonToPress, WebPageCourseOfActionIfDialogAppearsEnum courseOfActionIfDialogAppears)
at Robin.Modules.WebAutomation.Actions.WebAutomationActions.ClickLinkOnWebPage(Variant webBrowserInstance, Variant cssSelectorOfElementToClick, Variant dialogButtonToPress, Boolean waitForPageToLoad, Int32 courseOfActionIfDialogAppears)
--- End of inner exception stack trace ---
at Robin.Modules.WebAutomation.Actions.ClickBase.Execute(ActionContext context)
at Robin.Runtime.Engine.ActionRunner.RunAction(String action, Dictionary`2 inputArguments, Dictionary`2 outputArguments, IActionStatement statement)

I have the same question (0)
  • fraenK Profile Picture
    2,125 on at

    Seems like the button wasn't found. You'll need to test and probably edit the button selector, maybe something is dynamically changing every time you load the site. 

  • PratikK Profile Picture
    40 on at

    Hello @Shashankpuli ,

     

    I was facing similar problem for upload attachment. Please check below post for solution.

    https://powerusers.microsoft.com/t5/Power-Automate-Desktop/Upload-attachment-in-D365FO-using-web-recorder/m-p/846226

     

    Also if button is not found then as mentioned by @fraenK, in button selector, select name instead of id. (ids can have dynamic values). I also selected id but with 'start with' operator.

    Pratik6_0-1618732003452.png

     

     

     

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 247 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 164 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 138 Super User 2026 Season 2

Last 30 days Overall leaderboard