Home > @wixc3/testing > locatorTimeout
Warning: This API is now obsolete.
use debugSafeTimeout() instead Creates a playwright locator options with scaled timeout and adjust the current test timeout accordingly
Signature:
export declare function locatorTimeout(ms?: number): {
timeout: number;
};
Parameter | Type | Description |
---|---|---|
ms | number | _(Optional)_ |
Returns:
{ timeout: number; }