apiKey method

Class: RunnerOptionsPlatform: Selenium 3Language: Java SDK:

Use this to set your Eyes license key.

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


RunnerOptions value = obj.apiKey(apiKey);


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 supportd by this class in a fluent API style.