What steps will reproduce the problem?
1. Run FLB using RemoteWebDriver
What is the expected output? What do you see instead?
It should behave as per WebDriver behaviour
What version of the product are you using? On what operating system?
<dependency>
<groupId>com.googlecode.fighting-layout-bugs</groupId>
<artifactId>fighting-layout-bugs</artifactId>
<version>0.4</version>
Windows 7 x64
Please provide any additional information below.
I'm getting the following error:
java.lang.UnsupportedOperationException:
org.openqa.selenium.remote.RemoteWebDriver does not support taking screenshots.
at com.googlecode.fightinglayoutbugs.ScreenshotCache.takeScreenshot(ScreenshotCache.java:251)
at com.googlecode.fightinglayoutbugs.ScreenshotCache.takeScreenshot(ScreenshotCache.java:163)
at com.googlecode.fightinglayoutbugs.ScreenshotCache.getScreenshot(ScreenshotCache.java:77)
at com.googlecode.fightinglayoutbugs.ScreenshotCache.takeScreenshot(ScreenshotCache.java:144)
at com.googlecode.fightinglayoutbugs.WebPage.takeScreenshot(WebPage.java:162)
at com.googlecode.fightinglayoutbugs.AnimationAwareTextDetector.detectTextPixelsIn(AnimationAwareTextDetector.java:78)
at com.googlecode.fightinglayoutbugs.WebPage.getTextPixels(WebPage.java:176)
at com.googlecode.fightinglayoutbugs.DetectTextNearOrOverlappingHorizontalEdge.findLayoutBugsIn(DetectTextNearOrOverlappingHorizontalEdge.java:37)
at com.googlecode.fightinglayoutbugs.FightingLayoutBugs.findLayoutBugsIn(FightingLayoutBugs.java:146)
at com.paddypower.selenium.framework.PageValidation.checkLayoutBugs(PageValidation.java:46)
Original issue reported on code.google.com by nicegra...@gmail.com on 18 Jul 2012 at 10:51
Original issue reported on code.google.com by
nicegra...@gmail.com
on 18 Jul 2012 at 10:51