{"action":"opened","issue":{"url":"https://api.github.com/repos/ariya/phantomjs/issues/13039","labels_url":"https://api.github.com/repos/ariya/phantomjs/issues/13039/labels{/name}","comments_url":"https://api.github.com/repos/ariya/phantomjs/issues/13039/comments","events_url":"https://api.github.com/repos/ariya/phantomjs/issues/13039/events","html_url":"https://github.com/ariya/phantomjs/issues/13039","id":59431965,"number":13039,"title":"frameContent does not reflect DOM changes (like top frame 'content' does)","user":{"login":"plamzi","id":5421384,"avatar_url":"https://avatars.githubusercontent.com/u/5421384?v=3","gravatar_id":"","url":"https://api.github.com/users/plamzi","html_url":"https://github.com/plamzi","followers_url":"https://api.github.com/users/plamzi/followers","following_url":"https://api.github.com/users/plamzi/following{/other_user}","gists_url":"https://api.github.com/users/plamzi/gists{/gist_id}","starred_url":"https://api.github.com/users/plamzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plamzi/subscriptions","organizations_url":"https://api.github.com/users/plamzi/orgs","repos_url":"https://api.github.com/users/plamzi/repos","events_url":"https://api.github.com/users/plamzi/events{/privacy}","received_events_url":"https://api.github.com/users/plamzi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-02T02:33:08Z","updated_at":"2015-03-02T02:33:08Z","closed_at":null,"body":"<b>Steps to reproduce:</b>\r\n\r\n1. Open a page containing an iframe.\r\n2. Use switchToFrame to shift to the frame and manipulate content.\r\n3. After a reasonable delay, grab the 'frameContent' and then immediately a screenshot of the whole page.\r\n\r\n<b>What are you seeing?</b>\r\n\r\nThe 'frameContent' seems to reflect the initial state of the frame's DOM (matches document.documentElement.innerHTML). The screenshot of the page properly reflects the state of the frame after manipulation.\r\n\r\n<b>What do you expect to see?</b>\r\n\r\nA stringified HTML of the altered DOM state, just like the one served by 'content' for the main frame. The current documentation for content and frameContent suggests that this would be the intended behavior for both methods.\r\n\r\nP. S. Amazing project, been using it almost since its inception and pleased to watch it thrive.\r\n"}}