getConfiguration method

Class: EyesPlatform: Selenium 3Language: Java SDK:

Use this method to retrieve the current configuration object. This will be the most recent configuration object set using setConfiguration, or the initial default configuration object.

If you want to change an Eyes configuration that has already been configured, then the standard way of doing so is to use the following pattern:

  • Get the current configuration using Eyes.getConfiguration to a local variable.
  • Make changes to the local configuration value.
  • Assign the local configuration object to the Eyes instance using Eyes.setConfiguration.


com.applitools.eyes.selenium.Configuration value = eyes.getConfiguration();


This method does not take any parameters.

Return value

Type: com.applitools.eyes.selenium.Configuration