setFeatures method

Class: ConfigurationPlatform: Selenium 3Language: Java SDK:

Use this method to force use of the Android PixelCopy method to capture Screenshots if available in your Android version.

Use of PixelCopy to capture screenshots solves rendering issues such as missing shadow layers.

Syntax


config.setFeatures(feature, features);

Parameters

feature
Type:Feature
One or more features to set.
features
Type:Feature ...
One or more features to set.

Return value

Type: void