java.lang.UnsupportedOperationException: org.openqa.selenium.remote.RemoteWebDriver does not support taking screenshots.

Google Groups | Graham Abell | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    RemoteWebDriver does not support taking screenshots

    Google Groups | 5 years ago | Graham Abell
    java.lang.UnsupportedOperationException: org.openqa.selenium.remote.RemoteWebDriver does not support taking screenshots.

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      org.openqa.selenium.remote.RemoteWebDriver does not support taking screenshots.

      at com.googlecode.fightinglayoutbugs.ScreenshotCache.takeScreenshot()
    2. com.googlecode.fightinglayoutbugs
      FightingLayoutBugs.findLayoutBugsIn
      1. com.googlecode.fightinglayoutbugs.ScreenshotCache.takeScreenshot(ScreenshotCache.java:251)
      2. com.googlecode.fightinglayoutbugs.ScreenshotCache.takeScreenshot(ScreenshotCache.java:163)
      3. com.googlecode.fightinglayoutbugs.ScreenshotCache.getScreenshot(ScreenshotCache.java:77)
      4. com.googlecode.fightinglayoutbugs.ScreenshotCache.takeScreenshot(ScreenshotCache.java:144)
      5. com.googlecode.fightinglayoutbugs.WebPage.takeScreenshot(WebPage.java:162)
      6. com.googlecode.fightinglayoutbugs.AnimationAwareTextDetector.detectTextPixelsIn(AnimationAwareTextDetector.java:78)
      7. com.googlecode.fightinglayoutbugs.WebPage.getTextPixels(WebPage.java:176)
      8. com.googlecode.fightinglayoutbugs.DetectTextNearOrOverlappingHorizontalEdge.findLayoutBugsIn(DetectTextNearOrOverlappingHorizontalEdge.java:37)
      9. com.googlecode.fightinglayoutbugs.FightingLayoutBugs.findLayoutBugsIn(FightingLayoutBugs.java:146)
      9 frames
    3. com.paddypower.selenium
      PageValidation.checkLayoutBugs
      1. com.paddypower.selenium.framework.PageValidation.checkLayoutBugs(PageValidation.java:46)
      1 frame