Skip to main content
Version: 20.8.3

Locator.click() method

Signature:

class Locator {
abstract click(
clickOptions?: ClickOptions & {
signal?: AbortSignal;
}
): Promise<void>;
}

Parameters

ParameterTypeDescription
clickOptionsClickOptions & { signal?: AbortSignal; }(Optional)

Returns:

Promise<void>