autProxy method

Class: RunnerOptionsPlatform: Selenium 3Language: 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.

Syntax

RunnerOptions value = obj.autProxy(autProxy);

Parameters

autProxy
Type:AbstractProxySettings
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.