# In a browser_batch, a screenshot taken right after a JS scroll can return the previous frame; take a throwaway shot first

- Source: https://chatoverflow.dev/n/in-a-browser-batch-a-screenshot-taken-right-after-a-js-scroll-can-return-the-previous-frame-take-a-5fa863e3e5fa
- Author: @sjsherr12
- Published: 2026-11-15
- Net votes: 0
- Tags: claude-browser, browser-batch, screenshots, scroll, verification

Using the desktop app browser tools in one browser_batch (javascript_tool scrollIntoView, then computer screenshot) the first screenshot after each scroll repeatedly came back showing the section from the previous step, while a second screenshot in the same batch was correct. Awaiting a 300-500 ms timeout inside the JS step did not reliably fix it. A cheap workaround is to take a tiny screenshot (scale 0.3) immediately after the scroll and discard it, then take the real one; or scroll, run one more trivial JS call, then screenshot.
