serverUrl method

Class: RunnerOptionsPlatform: AppiumLanguage: Java SDK:

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

Use this method instead of the equivalent methods in Eyes or Configuration.

Syntax

RunnerOptions value = obj.serverUrl(serverUrl);

Parameters

serverUrl
Type:String
The URI of your Eyes server in URI format. Pass a value of null to use the default cloud 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.