setProxy method

Class: ConfigurationPlatform: Selenium 3Language: Java SDK:

Use this method to configure Eyes so that it will interact with the Eyes server via a proxy.

By default, the SDK interacts directly with the Eyes server. If necessary, you can define a proxy server so that the SDK will interact with the proxy server, and the proxy server will relay the interaction with the Eyes server.

Syntax


Configuration configval = config.setProxy(proxy);

Parameters

proxy
Type:AbstractProxySettings
An object created from the ProxySettings class that contains the user name, password, URI and port.

Return value

Type: Configuration
The value returned is the object that called the method. This allows you to use a fluent style to call the setXXXX methods of the Configuration class.