Conversation
Ljy-0827
added this pull request to stack #251
September 15, 2026 07:38
Ljy-0827
force-pushed
the
fix/background-full-page-screenshots
branch
from
September 15, 2026 09:48
9e0a5fb to
cfdbdcc
Compare
Collaborator
Author
修复全页截图重复捕获 overlay scrollbar
|
Ljy-0827
force-pushed
the
fix/background-full-page-screenshots
branch
from
September 15, 2026 11:24
ba9a152 to
b3a07a1
Compare
Ljy-0827
marked this pull request as ready for review
September 15, 2026 11:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题
在
--no-focus会话中,通过--no-active创建的受控标签页已经可以执行任务和获取视口截图,但整页截图仍要求目标处于激活状态,并在用户切换到其他标签时取消。原整页捕获优先使用窗口截图。如果仅移除激活限制,可能截到窗口中其他标签的内容。
修改
实现边界
复用现有滚动、分片拼接、懒加载处理、固定元素处理、取消和恢复机制,没有重新实现长截图功能。
不新增标签激活或窗口聚焦操作。Quick Actions 的捕获后端和激活规则保持不变;CLI、协议及后台执行生命周期不变。
验证
测试 Chrome 存在启动超时,最终部分浏览器验证临时延长了测试启动等待,运行后已恢复,未修改产品超时。真实 bsk 使用步骤级 active 状态采样;隔离 headless 回归检查了原生激活和焦点事件。
Refs #230