autProxy method

Class: RunnerOptionsPlatform: AppiumLanguage: Java SDK:

Use this method to set the URL of a Proxy server that the SDK should use to interact with the AUT (Application under test).

By default, if a proxy server is defined using one of the proxy commands, then the SDK will access the AUT via that proxy. This method can be used in cases where a different proxy needs to be used for the AUT.


RunnerOptions value = obj.autProxy(autProxy);


An object that defines how to interact with the proxy server.

Return value

Type: RunnerOptions
This method returns the object that called it so that it can be used to call other methods supported by this class in a fluent API style.