MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / fromString

Method fromString

java/src/org/openqa/selenium/WindowType.java:39–48  ·  view source on GitHub ↗
(@Nullable String text)

Source from the content-addressed store, hash-verified

37 }
38
39 public static @Nullable WindowType fromString(@Nullable String text) {
40 if (text != null) {
41 for (WindowType b : WindowType.values()) {
42 if (text.equalsIgnoreCase(b.text)) {
43 return b;
44 }
45 }
46 }
47 return null;
48 }
49}

Callers

nothing calls this directly

Calls 1

valuesMethod · 0.80

Tested by

no test coverage detected