appium/appium — pull request #350 by bootstraponline (2013-03-28 15:02:57+00:00)
Title: Add mobile 'source' getPageSourceXML

There's no XPath for JSON. The XML is much easier to deal with. This adds a `mobile 'source'` method which returns XML on Android and the regular source on iOS.

```ruby
> mobile 'source'
post
session/1227006c-1b72-4215-bfbe-8c79064fb053/execute
{"script":"mobile: source","args":[]}
=> "...
```