const WAIT = Object.freeze({ implicit: Number(process.env.APPIUM_IMPLICIT_WAIT_MS || 1000), screen: Number(process.env.APPIUM_SCREEN_WAIT_MS || 15000), interval: Number(process.env.APPIUM_WAIT_INTERVAL_MS || 500), }); async function applySessionTimeouts(driver) { await driver.setTimeout({ implicit: WAIT.implicit }); } module.exports = { WAIT, applySessionTimeouts };