Override desired capabilities at runtime

Estimated reading time: 1 minute

If you want to override desired capabilities of a browser before it’s started, refer to the sample code below.

import com.kms.katalon.core.configuration.RunConfiguration
RunConfiguration.setWebDriverPreferencesProperty("key", "value")

References: