apiKey method

Class: RunnerOptionsPlatform: Selenium 3Language: Java SDK:

Use this method to set your Eyes license key.

To obtain your API key, see How to obtain your API key. Use this method instead of the equivalent methods in Eyes or Configuration.

Syntax

RunnerOptions value = obj.apiKey(apiKey);

Parameters

apiKey
Type:String
A string that is your API Key.

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.