Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

UI Flow with Selenium - Getting status of a command (OK, pass, fail or similar)

(0) ShareShare
ReportReport
Posted on by 153

Hello!

 

I am using Selenium to automate a simple web process. During a step, I need to check "Verify element present", and if it is present, I want to follow up with some new steps. If it is not present, I want to do a different set of actions.

I thought it should be a simple solution to this, but I can't seem to find any documentation about how to acquire and use these statuses. 

 

Anyone know a simple solution for this? Are there any native variables in Selenium containing this information which I can refer to?

 

Sincerely,

Svenny

  • Svenny Profile Picture
    153 on at
    Re: UI Flow with Selenium - Getting status of a command (OK, pass, fail or similar)

    If grabbing the command status is not possible, does anyone have an idea on a workaround that would achieve the same result?

    So far, for those familiar with Selenium, I've tried the "Store Xpath Count"-route. However, this does not appear to be working properly when the element does not exist on the page (even with a wildcard in the xpath expression).

     

    Hoping to find someone who has built a UiFlow for web with conditions based on the content of the page.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1