setProxy method

Class: EyesPlatform: Selenium 3Language: JavaScript 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


eyes.setProxy(url, username, password);

Parameters

url
Type:string
The proxy URL to be used by the serverConnector. If it has a value of then no proxy is set.
username
Type:string
The string to pass as the username.
password
Type:string
The string to pass as the password.

Return value

Type: