不使用Selenium Grid捕获屏幕截图 [英] Not capturing screenshots with Selenium Grid

查看:93
本文介绍了不使用Selenium Grid捕获屏幕截图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

断言失败时,不会捕获屏幕截图.我正在运行Selenium Grid,并以Windows作为Hub,1个Windows作为Node,1个Mac作为Node.

When the assertion fails it doesn't capture the screenshots. I am running Selenium Grid with Windows as Hub, 1 Windows as Node, and 1 Mac as Node.

推荐答案

您不再需要使用Augmenter,因为RemoteWebDriver现在实现了TakesScreenshot接口,请在此处查看

You don't need to use Augmenter anymore as RemoteWebDriver now implements TakesScreenshot interface , Have a look here for RemoteWebDriver

这篇关于不使用Selenium Grid捕获屏幕截图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆