Skip to main content
Version: 22.4.1

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>