Skip to content

Commit

Permalink
FirefoxDriver needs to implement HasFullPageScreenshot interface not …
Browse files Browse the repository at this point in the history
…just the method
  • Loading branch information
titusfortner committed Sep 21, 2021
1 parent 82cf073 commit 11194a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion java/src/org/openqa/selenium/firefox/FirefoxDriver.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
* </pre>
*/
public class FirefoxDriver extends RemoteWebDriver
implements WebStorage, HasExtensions, HasDevTools {
implements WebStorage, HasExtensions, HasFullPageScreenshot, HasDevTools {

public static final class SystemProperty {

Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 11194a7

Please sign in to comment.