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 / Button-press failed. -...
Power Automate
Unanswered

Button-press failed. ---> System.Exception: System.ServiceModel.FaultException: Message timeout reached.

(0) ShareShare
ReportReport
Posted on by 237

I have a button which when pressed will achived the action but PAD throws up an error.

 

Robin.Core.ActionException: Button-press failed. ---> System.Exception: System.ServiceModel.FaultException: Message timeout reached.
at Robin.WebAutomationCore.WebExtensions.WebBrowserMessageHostService.SendRequest(JObject request)
at Robin.WebAutomationCore.WebExtensions.WebBrowserMessageHostService.SendFunctionToTab(String funcName, IntPtr hwnd, Int32 tabId, Object[] args)
at Robin.WebAutomationCore.WebExtensions.WebBrowserMessageHostService.RunFunctionOnTabInRuntime(IntPtr hwnd, Int32 tabId, String funcName, Object[] args) ->
at Robin.Modules.WebAutomation.Actions.WebAutomationRuntime.PressButtonOnWebPage(WebBrowserInstanceVariant webBrowserInstanceVariant, TextVariant cssSelectorOfButtonToPress, Boolean waitForPageToLoad, TextVariant dialogButtonToPress, WebPageCourseOfActionIfDialogAppearsEnum courseOfActionIfDialogAppears)
at Robin.Modules.WebAutomation.Actions.WebAutomationActions.PressButtonOnWebPage(Variant webBrowserInstance, Variant cssSelectorOfButtonToPress, Variant dialogButtonToPress, Boolean waitForPageToLoad, Int32 courseOfActionIfDialogAppears)
--- End of inner exception stack trace ---
at Robin.Modules.WebAutomation.Actions.PressButtonBase.Execute(ActionContext context)
at Robin.Runtime.Engine.ActionRunner.RunAction(String action, Dictionary`2 inputArguments, Dictionary`2 outputArguments, IActionStatement statement)

 

Any one know what is the cause ?

 

I have the same question (0)
  • Shalu Profile Picture
    Microsoft Employee on at

    Hello GanCW,

     

    Please let us know, while executing the flow, does the UI element that is chosen to send a click using "Press button on Webpage" is highlighted with Yellow background?

    If not, check the CSS of the element if it changes dynamically and modify accordingly.

    If yes, try to send a click using the below method "Physical left/right click on Web Element":

    Shalu_5-1613549706441.jpeg

    Having found the selector of the element that we are willing to send a physical click, we extract the position of the element on the web page, using the 'Get Details of Element on Web Page' action setting the attribute "waelementcentercoords" on the respective field in the advanced tab of the action. 

    Shalu_6-1613549798044.png

    Once captured the coordinates, using the 'Split Text' Action, we separate the X,Y position on the web page, and increase them by the position of the browser window as shown above in actions 4 to 7.

    Finally we click on the resulted coordinates.

  • GanCW Profile Picture
    237 on at

    Hi @Shalu ,

    The button does not turn yellow when pressed but the page registers the press.  As a workaround I set the error handling to continue and the flow continues on.

     

    This is the UI element

    GanCW_0-1613567829315.png

     

    and this is the XML

     

    <input id="download" type="button" name="Download" value="Download All/Selected" onclick="downloadSelected('quotationResponseForm');" winautomationoriginalcolor="rgb(239, 239, 239)" style="background-color: rgb(239, 239, 239);" winautomationvisibilitylandmark="true" winautomationtextboxvalue="Download All/Selected">

     

     

  • Shalu Profile Picture
    Microsoft Employee on at

    Hello GanCW,

     

    Since the button is not highlighted, the UI element is not captured properly and hence the Click is not sent.

     

    Install the Extension named "Copy CSS Selector", available in Chrome, add this extension.

    This extension helps in copying the CSS of an element.

    Navigate to the button -> right click on the button -> Select Copy CSS Selector.

     

    Update the copied CSS to the Customized Selector builder on the captured UI Element.

     

    Test the execution, if it highlights the element.

     

    If not, the issue has to be troubleshooted, hence request to raise a Support request through MS support portal.

  • GanCW Profile Picture
    237 on at

    I found out the error is not due to button press but waiting for the new page to load. Disabling that fixed the error.

     

  • Shalu Profile Picture
    Microsoft Employee on at

    Hello GanCW,

     

    I am glad that your issue is resolved, by disabling the wait option.

  • Silversin Profile Picture
    2 on at

    Hi! @GanCW 

     

    I had the same problem and managed to fix it.


    In my case it wasn't a CSS error or anything like that, but rather a timeout issue. If this is your case, you can easily edit it in the options that I present in the image.

     

    Silversin_0-1677080634434.png

     


    I hope I've helped

     

    Regards

     

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 632

#2
Haque Profile Picture

Haque 458

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard