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 41e6384 commit 5f98528Copy full SHA for 5f98528
java/src/org/openqa/selenium/bidi/network/ContinueRequestParameters.java
@@ -17,6 +17,8 @@
17
18
package org.openqa.selenium.bidi.network;
19
20
+import org.openqa.selenium.remote.http.HttpMethod;
21
+
22
import java.util.HashMap;
23
import java.util.List;
24
import java.util.Map;
@@ -48,8 +50,8 @@ public ContinueRequestParameters headers(List<Header> headers) {
48
50
return this;
49
51
}
52
- public ContinueRequestParameters method(String method) {
- map.put("method", method);
53
+ public ContinueRequestParameters method(HttpMethod method) {
54
+ map.put("method", method.toString());
55
56
57
0 commit comments