Skip to content

Commit

Permalink
WebDriver Bidi specifies "webSocketUrl" as a capability name
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Sep 20, 2021
1 parent b86d847 commit c3017ba
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ public class AcceptedW3CCapabilityKeys implements Predicate<String> {
"^setWindowRect$",
"^strictFileInteractability$",
"^timeouts$",
"^unhandledPromptBehavior$")
"^unhandledPromptBehavior$",
"^webSocketUrl$") // from webdriver-bidi
.map(Pattern::compile)
.map(Pattern::asPredicate)
.reduce(identity -> false, Predicate::or);
Expand Down

0 comments on commit c3017ba

Please sign in to comment.