appium/appium — pull request #748 by kinghenry3 (2013-06-12 14:59:20+00:00)
Title: Page source now retrieves source for all windows.

Page source is currently retrieving only the elements on the mainWindow(). This patch allows it to retrieve elements for all windows. This means that the statusbar window, keyboard window, and any actionsheet/popover/alert windows will be viewable in the page source.

This also makes things consistant with element search calls. Element search calls currently search all windows whereas page source is currently logging only the main window. In other words, without this patch, its possible to retrive an element from a search that is not viewable in the page source.

This fixes issue [#569](https://github.com/appium/appium/issues/569).