Skip to main content
Version: Next

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>