@tshifhiwa/ohrm-ui-automation-framework
Version:
Playwright and TypeScript–based test automation framework for validating core UI features and workflows of the OrangeHRM demo application.
10 lines (9 loc) • 317 B
text/typescript
/**
* Checks if browser initialization should be skipped.
* Controlled by the environment variable: SKIP_BROWSER_INIT
*
* @returns True if browser initialization should be skipped.
*/
export function shouldSkipBrowserInit(): boolean {
return process.env.SKIP_BROWSER_INIT?.toLowerCase() === "true";
}