Skip to content

Commit 11194a7

Browse files
committed
FirefoxDriver needs to implement HasFullPageScreenshot interface not just the method
1 parent 82cf073 commit 11194a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

java/src/org/openqa/selenium/firefox/FirefoxDriver.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
* </pre>
7575
*/
7676
public class FirefoxDriver extends RemoteWebDriver
77-
implements WebStorage, HasExtensions, HasDevTools {
77+
implements WebStorage, HasExtensions, HasFullPageScreenshot, HasDevTools {
7878

7979
public static final class SystemProperty {
8080

@@ -280,6 +280,7 @@ public void uninstallExtension(String extensionId) {
280280
* @return Object in which is stored information about the screenshot.
281281
* @throws WebDriverException on failure.
282282
*/
283+
@Override
283284
public <X> X getFullPageScreenshotAs(OutputType<X> outputType) throws WebDriverException {
284285
return fullPageScreenshot.getFullPageScreenshotAs(outputType);
285286
}

0 commit comments

Comments
 (0)