@labnex/cli
Version:
CLI for Labnex, an AI-Powered Testing Automation Platform
11 lines • 492 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.handleSwitchToMainContent = handleSwitchToMainContent;
function handleSwitchToMainContent(page, addLog) {
if (!page)
throw new Error('Page not available for switching to main content');
addLog('Switching to main content');
addLog('Successfully switched to main content');
return page; // The main page becomes the current frame
}
//# sourceMappingURL=handleSwitchToMainContent.js.map