UNPKG

e2ed

Version:

E2E testing framework over Playwright

15 lines (14 loc) 381 B
import type { Page } from '@playwright/test'; import type { StatusCode } from './http'; /** * Options for `navigateToUrl` action. */ export type NavigateToUrlOptions = Readonly<{ skipLogs?: boolean; } & Parameters<Page['goto']>[1]>; /** * The object returned by navigation functions. */ export type NavigationReturn = Readonly<{ statusCode: StatusCode | undefined; }>;