You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can now make `.eventually()` verifications more reliable on long / virtualized pages by **automatically increasing the snapshot `limit` across retries** (so later attempts see more elements).
A common agent failure mode is “scrolling” without the UI actually advancing (overlays, nested scrollers, focus issues). Use `AgentRuntime.scrollBy(...)` to deterministically verify scroll _had effect_ via before/after `scrollTop`.
175
+
176
+
```ts
177
+
runtime.beginStep('Scroll the page and verify it moved');
178
+
const ok =awaitruntime.scrollBy(600, {
179
+
verify: true,
180
+
minDeltaPx: 50,
181
+
label: 'scroll_effective',
182
+
required: true,
183
+
timeoutMs: 5_000,
184
+
});
185
+
if (!ok) {
186
+
thrownewError('Scroll had no effect (likely blocked by overlay or nested scroller).');
0 commit comments