MCPcopy
hub / github.com/SeleniumHQ/selenium / StubDriver

Class StubDriver

java/test/org/openqa/selenium/StubDriver.java:27–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25import org.openqa.selenium.logging.Logs;
26
27public class StubDriver implements WebDriver, JavascriptExecutor {
28
29 @NullMarked
30 @Override
31 public void get(String url) {
32 throw new UnsupportedOperationException("get");
33 }
34
35 @Override
36 public String getCurrentUrl() {
37 throw new UnsupportedOperationException("getCurrentUrl");
38 }
39
40 @Override
41 public String getTitle() {
42 throw new UnsupportedOperationException("getTitle");
43 }
44
45 @NullMarked
46 @Override
47 public List<WebElement> findElements(By by) {
48 throw new UnsupportedOperationException("findElements");
49 }
50
51 @NullMarked
52 @Override
53 public WebElement findElement(By by) {
54 throw new UnsupportedOperationException("findElement");
55 }
56
57 @Override
58 public String getPageSource() {
59 throw new UnsupportedOperationException("getPageSource");
60 }
61
62 @Override
63 public void close() {
64 throw new UnsupportedOperationException("close");
65 }
66
67 @Override
68 public void quit() {
69 throw new UnsupportedOperationException("quit");
70 }
71
72 @Override
73 public Set<String> getWindowHandles() {
74 throw new UnsupportedOperationException("getWindowHandles");
75 }
76
77 @Override
78 public String getWindowHandle() {
79 throw new UnsupportedOperationException("getWindowHandle");
80 }
81
82 @Override
83 public TargetLocator switchTo() {
84 throw new UnsupportedOperationException("switchTo");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected