Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个网页有一个可滚动的弹出窗口,我想在发生错误时提交弹出窗口时实现这一点,我可以截取整页屏幕截图,包括弹出窗口中的全部内容。我尝试使用 Ashot 全页截图,但问题是只有可见部分的弹出窗口在捕获中,我希望整个弹出内容也作为弹出窗口的“全页屏幕截图”扩展提供。有没有办法我可以做到这一点?我正在使用 selenium 3 和 Java 8。浏览器是 Chrome。
https://sqa.stackexchange.com/questions/31091/how-to-take-full-document-screenshot-include-non-visible-parts
此链接将帮助您解决此问题您无法在 selenium 中完全截屏,您需要自己实现它。