import { ElementBo } from '../../../../src/COE_AUTOMATION/src/Framework/FrameworkUtilities/ElementBo'; // import { config } from "./../../../codecept.conf"; // import { config as ci_config } from "./../../../codecept.ci.conf"; export class N { static uiElements: Map = new Map(); static timeout = 0; static globalTimeout() { let config = require('codeceptjs').config.get() // if (process.argv.includes("--config")) { // N.timeout = config.helpers.WebDriver.waitForTimeout / 1000; // } // else { // N.timeout = config.helpers.WebDriver.waitForTimeout / 1000; if(config.helpers.WebDriver) { N.timeout = config.helpers.WebDriver.waitForTimeout / 1000; } else if(config.helpers.Puppeteer) { N.timeout = config.helpers.Puppeteer.waitForTimeout / 1000; } // } return N.timeout; } static stepName: string = ""; static stepArgs: any[] = new Array(); }