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.


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