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 / Extract Data From Web ...
Power Automate
Answered

Extract Data From Web Page - iFrame Issue

(1) ShareShare
ReportReport
Posted on by 46

I am having trouble using the 'Extract data from web page' action on a site that has an iFrame.

I have scraped data from other web sites with PAD that have an iFrame, but this one I cannot seem to figure out.

Is it possible to extract elements such as the job titles, job URLs, and location from this site?

If not, are there any alternatives?

 

Example:  https://www.cityfm.us/opportunities/

 

PAD Flow:

 

PAD_Flow.png

 

Copy/Paste PAD workflow:

 

WebAutomation.LaunchChrome.LaunchChrome Url: $'''https://www.cityfm.us/opportunities/''' WindowState: WebAutomation.BrowserWindowState.Normal ClearCache: False ClearCookies: False Timeout: 60 BrowserInstance=> Browser
WAIT 1
WebAutomation.ExtractData.ExtractSingleValue BrowserInstance: Browser ExtractionParameters: {[$'''html > body > div:eq(0) > div:eq(0) > div:eq(1) > div > div > div > div > div > p:eq(0) > iframe > html > body > div:eq(0) > form > table > tbody > tr:eq(2) > td > div[class=\"gnewtonCareerGroupRowClass\"] > div:eq(0) > a''', $'''Own Text''', $''''''] } ExtractedData=> JobsTable

 

 

I have the same question (0)
  • bjjkjjyy Profile Picture
    7 on at

    I have the same issue.

    Hope for solutions.

  • Verified answer
    Waylold Profile Picture
    106 on at

    @pjwilson87 , couple suggestions I would have. 

     

    1. Simplify by going directly to the iframe nested site. You can get this detail from the iframe itself, by inspecting it with chrome. You can then run your extract against that: Waylold_0-1639576313767.png

       

    2. If you HAVE to work within the confines of the site,  you'll need to get creative with java to specify the iFrame within the document (website) to target it directly as you have been. Below is something I use as a base for these types of functions: 

     

     

    var iframe = document.getElementById('IFRAMENAMEHERE');
    var elmnt = iframe.contentWindow.document.getElementById('ELEMENTNAMEHERE');

     

     

  • pjwilson87 Profile Picture
    46 on at

    Thanks @Waylold. This is perfect!

  • mattjk Profile Picture
    17 on at

    I'm using the free version of PAD on windows 10, and I could use a hand, I can't figure out how you are able to view / edit a text representation of the workflow.

     

    I'm having a similar problem with an iframe that I might post about. But generally I can edit a workflow, but other than what is allowed via the PAD operations, I can't figure out how to open it in an editor and just type it in directly.

     

    Any help is appreciated

  • bjjkjjyy Profile Picture
    7 on at

    as i know, you can view the code, but i haven't find a way how to edit it.

    just copy the flow and paste it into notepad, then you can get the code.

  • mattjk Profile Picture
    17 on at

    How do you view the code? That might seem like a dumb question but I've tried googling and exploring the PAD tool and there doesn't appear to be a way to do it.

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

#2
11manish Profile Picture

11manish 172 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 134 Super User 2026 Season 2

Last 30 days Overall leaderboard