Skip to main content
Version: 20.8.2

Locator.click() method

Signature:

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

Parameters

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

Returns:

Promise<void>