We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5303307 commit 2360388Copy full SHA for 2360388
java/src/org/openqa/selenium/bidi/script/RealmInfo.java
@@ -76,7 +76,7 @@ public static RealmInfo fromJson(JsonInput input) {
76
77
input.endObject();
78
79
- if (realmType.equals(RealmType.WINDOW)) {
+ if (realmType != null && realmType.equals(RealmType.WINDOW)) {
80
return new WindowRealmInfo(
81
realmId, origin, realmType, browsingContext, Optional.ofNullable(sandbox));
82
}
0 commit comments