FirefoxDriver needs to implement HasFullPageScreenshot interface not just the method
* </pre>
*/
public class FirefoxDriver extends RemoteWebDriver
- implements WebStorage, HasExtensions, HasDevTools {
+ implements WebStorage, HasExtensions, HasFullPageScreenshot, HasDevTools {
public static final class SystemProperty {
@@ -280,6 +280,7 @@ public void uninstallExtension(String extensionId) {
* @return Object in which is stored information about the screenshot.
* @throws WebDriverException on failure.
*/
+ @Override
public <X> X getFullPageScreenshotAs(OutputType<X> outputType) throws WebDriverException {
return fullPageScreenshot.getFullPageScreenshotAs(outputType);
}
