We frequently use Get Source to find locators instead of Appium Inspector. The Get Source keyword could have an argument to save the output to a specific file. If you approve this change, I can prepare a pull request for it.
${source_code} Get Source
Create File ${EXECDIR}${/}Results${/}source_code.xml ${source_code}