File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
java/src/org/openqa/selenium/remote Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -221,10 +221,6 @@ private void writeMetaData(JsonOutput out) throws IOException {
221
221
String name = input .nextName ();
222
222
switch (name ) {
223
223
case "capabilities" :
224
- // These fields were used by the (now defunct) JSON Wire Protocol, but we
225
- // keep them here since we might see them from ancient clients.
226
- case "desiredCapabilities" :
227
- case "requiredCapabilities" :
228
224
input .skipValue ();
229
225
break ;
230
226
@@ -256,7 +252,7 @@ public Set<Dialect> getDownstreamDialects() {
256
252
257
253
public Map <String , Object > getMetadata () {
258
254
Set <String > ignoredMetadataKeys =
259
- Set .of ("capabilities" , "desiredCapabilities" , " requiredCapabilities" );
255
+ Set .of ("capabilities" , "requiredCapabilities" );
260
256
261
257
try (Reader reader =
262
258
new InputStreamReader (backingStore .asByteSource ().openBufferedStream (), UTF_8 );
You can’t perform that action at this time.
0 commit comments