UNPKG

e2ed

Version:

E2E testing framework over Playwright

14 lines (13 loc) 504 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.switchToMainWindow = void 0; const frameContext_1 = require("../context/frameContext"); const log_1 = require("../utils/log"); /** * Switches browsing context to the main window. */ const switchToMainWindow = () => { (0, log_1.log)('Switch browsing context to the main window', 5 /* LogEventType.InternalAction */); (0, frameContext_1.clearFrameContext)(); }; exports.switchToMainWindow = switchToMainWindow;