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:
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
Solved! Go to Solution.
@pjwilson87 , couple suggestions I would have.
var iframe = document.getElementById('IFRAMENAMEHERE');
var elmnt = iframe.contentWindow.document.getElementById('ELEMENTNAMEHERE');
I have the same issue.
Hope for solutions.
@pjwilson87 , couple suggestions I would have.
var iframe = document.getElementById('IFRAMENAMEHERE');
var elmnt = iframe.contentWindow.document.getElementById('ELEMENTNAMEHERE');
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
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.
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.