UNPKG

wdio-ui5-service

Version:

WebdriverIO plugin for testing UI5 browser-based apps

11 lines 598 B
async function clientSide_checkForWdi5BrowserReady(browserInstance) { return await browserInstance.execute(async function wdi5_checkForWdi5BrowserReady() { if (!window.wdi5 || !window.bridge) { const wdi5MissingErr = new Error(`WDI5 is not available in the browser context! window.wdi5: ${!!window.wdi5} | window.bridge: ${!!window.bridge}`); console.error(wdi5MissingErr); // eslint-disable-line no-console throw wdi5MissingErr; } }); } export { clientSide_checkForWdi5BrowserReady }; //# sourceMappingURL=checkForWdi5BrowserReady.js.map