Not capturing screenshots with Selenium Grid

末鹿安然 提交于 2020-01-26 03:53:06

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/38195311/not-capturing-screenshots-with-selenium-grid

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!