function frameData(page, data) { data.url = page.frameUrl; data.name = page.frameName; data.content = page.frameContent; data.childCount = page.framesCount; data.childFrames = []; var posList = page.evaluate(framePosition); for(var i=0; i