activities
latest
false
UiPath logo, featuring letters U and I in white

UI Automation activities

Last updated Mar 13, 2026

GetPageSource

Retrieves the page source from a mobile device connected via the Connection class.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

GetPageSource(MobileOptions.GetPageSourceOptions)

GetPageSource(
	    MobileOptions. GetPageSourceOptions options = null
)
GetPageSource(
	    MobileOptions. GetPageSourceOptions options = null
)

options MobileOptions.GetPageSourceOptions Class : Specifies the MobileOptions.GetPageSourceOptions for the GetPageSource action. Default value is null.

Return value

A string containing the page source.

  • Definition
  • GetPageSource(MobileOptions.GetPageSourceOptions)
  • Return value

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated