Skip to content

Commit bb64f9e

Browse files
committed
Remove NewSessionCmd::desiredCapabilities
I can't find a reference to this attribute in the spec. And I cant remember why I added it.
1 parent 3ddf5a6 commit bb64f9e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/messages.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ use serde::de::{Visitor, MapAccess};
55
use serde::de::Error as DeError;
66
use serde::ser::SerializeStruct;
77
use serde_json::Value as JsonValue;
8-
use serde_json::map::Map;
98
use std::fmt;
109

1110
#[derive(Debug)]
@@ -37,7 +36,6 @@ pub struct WebDriverError {
3736
#[derive(Serialize)]
3837
pub struct NewSessionCmd {
3938
capabilities: JsonValue,
40-
desiredCapabilities: JsonValue,
4139
}
4240

4341
impl NewSessionCmd {
@@ -51,7 +49,6 @@ impl NewSessionCmd {
5149
}
5250
}
5351
}),
54-
desiredCapabilities: JsonValue::Object(Map::new()),
5552
}
5653
}
5754

0 commit comments

Comments
 (0)