agentgui 1.0.887 → 1.0.888
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -132,7 +132,7 @@ async function main() {
|
|
|
132
132
|
|
|
133
133
|
for (const s of shots) {
|
|
134
134
|
const page = await browser.newPage();
|
|
135
|
-
page.setDefaultNavigationTimeout(
|
|
135
|
+
page.setDefaultNavigationTimeout(30000);
|
|
136
136
|
await page.emulateMediaFeatures([{ name: 'prefers-reduced-motion', value: 'reduce' }]);
|
|
137
137
|
await page.evaluateOnNewDocument((theme) => {
|
|
138
138
|
try { localStorage.setItem('theme', theme); } catch {}
|
|
@@ -148,7 +148,7 @@ async function main() {
|
|
|
148
148
|
}, s.theme);
|
|
149
149
|
|
|
150
150
|
console.log(`[capture] -> ${s.name} (${s.theme})`);
|
|
151
|
-
await page.goto(s.url, { waitUntil: '
|
|
151
|
+
await page.goto(s.url, { waitUntil: 'domcontentloaded' });
|
|
152
152
|
// Determinism: wait until the sidebar has transitioned out of "Loading..."
|
|
153
153
|
// and rendered at least one conversation row.
|
|
154
154
|
await page.waitForFunction(() => {
|