Skip to content

Commit

Permalink
[java] Remove user context does not return anything
Browse files Browse the repository at this point in the history
  • Loading branch information
pujagani committed Mar 12, 2024
1 parent 36be14e commit 7963046
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions java/src/org/openqa/selenium/bidi/Browser.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,7 @@ public List<String> getUserContexts() {
return bidi.send(new Command<>("browser.getUserContexts", Map.of(), userContextsInfoMapper));
}

public String removeUserContext(String userContext) {
return bidi.send(
new Command<>(
"browser.removeUserContext",
Map.of("userContext", userContext),
userContextInfoMapper));
public void removeUserContext(String userContext) {
bidi.send(new Command<>("browser.removeUserContext", Map.of("userContext", userContext)));
}
}

0 comments on commit 7963046

Please sign in to comment.