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 / If web page contains (...
Power Automate
Unanswered

If web page contains (icon) not being recognized

(0) ShareShare
ReportReport
Posted on by 4

Hi,

 

I am trying to check if an <i></i> element exists on the web page.

 

I have a simple flow that checks for a UI element that is relatively deep in the web page. 

table > tbody > tr > td > div > div > div > div:eq(1) > div > span > i

This returns false.

 

However, if I check for the other element (another <span> element) that is within the <span> element, it does find it. Like this:

table > tbody > tr > td > div > div > div > div:eq(1) > div > span > span

 

It seems it has an issue finding the <i> html element?

I have the same question (0)
  • Pavel_NaNoi Profile Picture
    1,074 on at

    Are you able to share the website + element you're trying to search for, or is it confidential?

     

    There could be lots of different reasons for this so its hard to narrow it down without trial and error.

    if you can't share then for now try making it

    more generic e.g. div > span > i,

    or more specific e.g. table > tbody > tr > td > div > div > div > div > span:has(i) > i

    it could not be selecting it because there are multiple similar paths as well so try looking for a list rather than a single value, if it finds a list then you need to make it more specific e.g. i:eq(0) at the end or something of similar nature.

     

    If these don't work, let me know.

  • MMKX Profile Picture
    4 on at

    Thanks, I ended up solving it by just using the span above it. I still have no clue why it didn't work, but for now that solved my issue.

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 223

#2
David_MA Profile Picture

David_MA 195 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 167

Last 30 days Overall leaderboard