assaf/zombie — Issue #274: html() shows only IFRAME html, if IFRAME is present.
Author: davidbre
Created: 2012-01-28 18:55:01+00:00
State: open

browser.html() shows only IFRAME html, not entire document, if IFRAME is present.

NODE v0.6.9
JSDOM v0.2.10
ZOMBIE v0.12.13

It works fine if the IFRAME is removed -- here's sample code to see if I missed something? thanks.

Test Page with iFrame
http://67.23.162.117/test.html

SAMPLE CODE:

var zombie = require('zombie')
var assert = require('assert')

var websiteurls = []
websiteurls.push('http://67.23.162.117/test.html');

for (w in websiteurls)
{
console.log(websiteurls[w]);

browser = new zombie.Browser;

browser.visit(websiteurls[w], function (err, browser) {
if (err)
throw(err.message);

console.log("Loaded:", browser.html());
});

}