问题
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