proxy method

Class: RunnerOptionsPlatform: AppiumLanguage: Java SDK:

Use this method to provide the URL, username, and password of a Proxy server that the SDK can use to access the Eyes server.

You can use this method instead of Eyes.setProxy or Configuration.setProxy.

Syntax

RunnerOptions value = obj.proxy(proxySettings);

Parameters

proxySettings
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.