Locator.has

Check if an element is present in Locator by key id.

Note: This check should be done for elements that locator actually contains, and not in chained locator.

interface Locator(Type = Object, KeyType = string)
inout
bool
has
(
in KeyType identity
)

Parameters

identity KeyType

identity of element.

Return Value

Type: bool

bool true if an element by key is present in Locator.

Meta