Selenium截图不包含整页

时间:2015-09-22 08:03:29

标签: perl selenium screenshot

我自动化页面(使用Perl),其中包含:

<object odebase="/3Dviewer/partserver/applets/partwebviewer/partwebviewer.exe" style="width:100%; height:100%" id="cnsweb3d" data="" type="application/x-zjv"></object>
在iframe中

。我必须从整个页面截取屏幕截图。我试过capture_screenshot,但在这里我只看到一个白色的字段,我希望上面的对象显示出来。这不是时间问题,内容已经呈现。当我在Imager::Screenshot之前和之后使用capture_screenshot截取屏幕截图时,我会看到我期望看到的内容。 你怎么处理这个?

更改页面源不是解决方案,我无法影响它。

0 个答案:

没有答案