Skip to content

Commit 47c1847

Browse files
Merge pull request #29 from bigaltum/support_new_selenium
support new version Selenium node
2 parents bcf1134 + 9c4dd88 commit 47c1847

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

jsonwire/jsonwire.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ type Sessions struct {
3030

3131
// Register - message structure for registration new node.
3232
type Register struct {
33-
Class string `json:"class,omitempty"`
34-
Configuration *Configuration `json:"configuration,omitempty"`
35-
CapabilitiesList []Capabilities `json:"capabilities,omitempty"` // selenium 3
33+
Class json.RawMessage `json:"class,omitempty"`
34+
Configuration *Configuration `json:"configuration,omitempty"`
35+
CapabilitiesList []Capabilities `json:"capabilities,omitempty"` // selenium 3
36+
Description string `json:"description,omitempty"`
37+
Name string `json:"name,omitempty"`
3638
}
3739

3840
// Capabilities - structure of supported capabilities.

0 commit comments

Comments
 (0)