setServerUrl method

Class: EyesPlatform: Selenium 3Language: Java SDK:

Use this method to set the URL of the Eyes server used to process the captured images.

Use this if you have a dedicated cloud or an on-premise server. By default, the test will run on the public cloud.

Syntax


eyes.setServerUrl('https://myEyesServer');
eyes.setServerUrl(new URI('https://myEyesServer');

Parameters

serverUrl
Type:String
The URI of your Eyes server in URI format. Pass a value of null to use the default cloud server.
serverUri
Type:URI
The URI of your Eyes server in URI format. Pass a value of null to use the default cloud server.

Return value

Type: void