1
0

Major Log Refactor & Cleanup

This commit is contained in:
2025-11-17 09:09:49 -05:00
parent cb35e05754
commit 96cb36663e
7 changed files with 153 additions and 95 deletions

View File

@@ -36,12 +36,10 @@ async function waitForPageFullyLoaded(page, url) {
try {
// Wait for DOM content and stylesheet to load
await page.goto(url, { waitUntil: 'domcontentloaded', timeout: 30000 });
console.log('Page DOM loaded, waiting for stylesheet...');
// Wait a brief moment for stylesheet to apply
await new Promise(resolve => setTimeout(resolve, 500));
console.log('Page stylesheet loaded, switching to live frames');
return true;
} catch (err) {
console.error('Page load error:', err.message);
@@ -65,7 +63,7 @@ async function hideLogo(page) {
});
});
} catch (err) {
console.error('Logo hide error:', err);
// Silent
}
}