Skip to content

Conversation

@aslushnikov
Copy link
Contributor

This patch adds ElementHandle.contentFrame() method that allows
to get a reference to the Frame owned by the iframe.

Fixes #433.

This patch adds ElementHandle.contentFrame() method that allows
to get a reference to the Frame owned by the iframe.

Fixes puppeteer#433.
@aslushnikov aslushnikov merged commit 223b592 into puppeteer:master Feb 24, 2018
@lems111
Copy link

lems111 commented Feb 24, 2018

guys - it's difficult to express over words here. It's such a coincidence that last night, I was up until late hours, trying to find this functionality until I found the conversation and pull request for it. In a similar fashion to a Christmas day, I woke this morning to find this merged to master and I was able to get latest in my app. I can confirm that this, indeed, is the functionality that I needed to cut my time in half for scraping data from a site. I no longer have to take an extra step to visit a new page; instead, I can look at data in the embedded iframe that I wasn't able to access without this. Thanks everyone!

@aslushnikov aslushnikov deleted the content-frame branch May 9, 2018 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants