Skip to main content
Version: 21.3.8

Locator.setVisibility() method

Signature:

class Locator {
setVisibility<NodeType extends Node>(
this: Locator<NodeType>,
visibility: VisibilityOption
): Locator<NodeType>;
}

Parameters

ParameterTypeDescription
thisLocator<NodeType>
visibilityVisibilityOption

Returns:

Locator<NodeType>