Skip to main content
Version: 21.2.0

Locator.off() method

Signature:

class Locator {
off<K extends keyof LocatorEventObject>(
eventName: K,
handler: (event: LocatorEventObject[K]) => void
): this;
}

Parameters

ParameterTypeDescription
eventNameK
handler(event: LocatorEventObject[K]) => void

Returns:

this