Skip to main content
Version: 20.7.1

Locator.click() method

Signature:

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

Parameters

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

Returns:

Promise<void>