Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Unable to collect Iframe/div created from scripts on the page #15097

Closed
kmicol opened this issue Aug 7, 2017 · 0 comments
Closed

Unable to collect Iframe/div created from scripts on the page #15097

kmicol opened this issue Aug 7, 2017 · 0 comments

Comments

@kmicol
Copy link

kmicol commented Aug 7, 2017

I am unable to target any divs or Iframes that are created on a page via Scripts in the header.
My goal is to be able to target Ads that get loaded into Divs via header bidding, and extract the data.
Is this possible with PhantomJS?

I can successfully take a screen shot of the page, see the Ad gets loaded.
I can target the Div where the iframes and other divs get loaded via Scripts. But I cannot target the Iframes or Divs that are actually being loaded. Any thoughts?

When I say target, i mean console.log its contents, or write it to a file.

Thanks.

  1. Which version of PhantomJS are you using?
    2.1.1

  2. What steps will reproduce the problem?

  3. page.open

  4. return document.getelementbyid

  5. Try to target a div or Iframe created from scripts on the page. cannot see it.

  6. Which operating system are you using?
    Windows

  7. Did you use binary PhantomJS or did you compile it from source?
    used from cmd line

  8. Please provide any additional information below.

@ghost ghost closed this as completed Jan 29, 2018
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant