File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
java/client/src/org/openqa/selenium/firefox Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change 26
26
27
27
import org .openqa .selenium .Capabilities ;
28
28
import org .openqa .selenium .NoSuchSessionException ;
29
- import org .openqa .selenium .OutputType ;
30
29
import org .openqa .selenium .Proxy ;
31
30
import org .openqa .selenium .WebDriverException ;
32
31
import org .openqa .selenium .firefox .internal .NewProfileExtensionConnection ;
@@ -417,13 +416,6 @@ private static Capabilities dropCapabilities(Capabilities capabilities) {
417
416
return caps ;
418
417
}
419
418
420
- public <X > X getScreenshotAs (OutputType <X > target ) {
421
- // Get the screenshot as base64.
422
- String base64 = execute (DriverCommand .SCREENSHOT ).getValue ().toString ();
423
- // ... and convert it.
424
- return target .convertFromBase64Png (base64 );
425
- }
426
-
427
419
public static class LazyCommandExecutor implements CommandExecutor , NeedsLocalLogs {
428
420
private ExtensionConnection connection ;
429
421
private final FirefoxBinary binary ;
You can’t perform that action at this time.
0 commit comments