Skip to main content
Version: 22.8.0

Locator.setVisibility() method

Signature:

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

Parameters

Parameter

Type

Description

this

Locator<NodeType>

visibility

VisibilityOption

Returns:

Locator<NodeType>