diff --git a/webkit/client.js b/webkit/client.js index 3c084de..4e80dd9 100644 --- a/webkit/client.js +++ b/webkit/client.js @@ -40,6 +40,22 @@ function execScripts(page, scripts, arr) { } +function frameData(page, data) { + data.url = page.frameUrl; + data.name = page.frameName; + data.content = page.frameContent; + data.childCount = page.framesCount; + data.childFrames = []; + for(var i=0; i