Skip to main content
Version: 21.6.0

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>