|
25 | 25 | import org.openqa.selenium.Capabilities;
|
26 | 26 | import org.openqa.selenium.Cookie;
|
27 | 27 | import org.openqa.selenium.Dimension;
|
| 28 | +import org.openqa.selenium.HasCapabilities; |
28 | 29 | import org.openqa.selenium.ImmutableCapabilities;
|
| 30 | +import org.openqa.selenium.JavascriptExecutor; |
29 | 31 | import org.openqa.selenium.MutableCapabilities;
|
30 | 32 | import org.openqa.selenium.NoSuchFrameException;
|
31 | 33 | import org.openqa.selenium.NoSuchWindowException;
|
32 | 34 | import org.openqa.selenium.OutputType;
|
33 | 35 | import org.openqa.selenium.Pdf;
|
34 | 36 | import org.openqa.selenium.Platform;
|
35 | 37 | import org.openqa.selenium.Point;
|
| 38 | +import org.openqa.selenium.PrintsPage; |
36 | 39 | import org.openqa.selenium.SearchContext;
|
37 | 40 | import org.openqa.selenium.SessionNotCreatedException;
|
| 41 | +import org.openqa.selenium.TakesScreenshot; |
38 | 42 | import org.openqa.selenium.WebDriver;
|
39 | 43 | import org.openqa.selenium.WebDriverException;
|
40 | 44 | import org.openqa.selenium.WebElement;
|
41 | 45 | import org.openqa.selenium.WindowType;
|
| 46 | +import org.openqa.selenium.interactions.HasInputDevices; |
| 47 | +import org.openqa.selenium.interactions.Interactive; |
42 | 48 | import org.openqa.selenium.interactions.Keyboard;
|
43 | 49 | import org.openqa.selenium.interactions.Mouse;
|
44 | 50 | import org.openqa.selenium.interactions.Sequence;
|
|
57 | 63 | import org.openqa.selenium.remote.tracing.Tracer;
|
58 | 64 | import org.openqa.selenium.remote.tracing.opentelemetry.OpenTelemetryTracer;
|
59 | 65 | import org.openqa.selenium.virtualauthenticator.Credential;
|
| 66 | +import org.openqa.selenium.virtualauthenticator.HasVirtualAuthenticator; |
60 | 67 | import org.openqa.selenium.virtualauthenticator.VirtualAuthenticator;
|
61 | 68 | import org.openqa.selenium.virtualauthenticator.VirtualAuthenticatorOptions;
|
62 | 69 |
|
|
87 | 94 | import static org.openqa.selenium.remote.CapabilityType.SUPPORTS_JAVASCRIPT;
|
88 | 95 |
|
89 | 96 | @Augmentable
|
90 |
| -public class RemoteWebDriver implements IsRemoteWebDriver { |
| 97 | +public class RemoteWebDriver implements WebDriver, |
| 98 | + JavascriptExecutor, |
| 99 | + HasInputDevices, |
| 100 | + HasCapabilities, |
| 101 | + HasVirtualAuthenticator, |
| 102 | + Interactive, |
| 103 | + PrintsPage, |
| 104 | + TakesScreenshot { |
91 | 105 |
|
92 | 106 | // TODO: This static logger should be unified with the per-instance localLogs
|
93 | 107 | private static final Logger logger = Logger.getLogger(RemoteWebDriver.class.getName());
|
@@ -218,7 +232,6 @@ public void setFileDetector(FileDetector detector) {
|
218 | 232 | fileDetector = detector;
|
219 | 233 | }
|
220 | 234 |
|
221 |
| - @Override |
222 | 235 | public SessionId getSessionId() {
|
223 | 236 | return sessionId;
|
224 | 237 | }
|
|
0 commit comments