File tree 1 file changed +6
-6
lines changed
javascript/node/selenium-webdriver/bidi
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ const TYPE_CONSTANT = 'type'
25
25
const VALUE_CONSTANT = 'value'
26
26
const RemoteReferenceType = {
27
27
HANDLE : 'handle' ,
28
- SHARED_ID : 'shareId ' ,
28
+ SHARED_ID : 'sharedId ' ,
29
29
}
30
30
31
31
class LocalValue {
@@ -165,12 +165,12 @@ class RemoteValue {
165
165
}
166
166
167
167
class ReferenceValue {
168
- constructor ( handle , shareId ) {
168
+ constructor ( handle , sharedId ) {
169
169
if ( handle === RemoteReferenceType . HANDLE ) {
170
- this . handle = shareId
170
+ this . handle = sharedId
171
171
} else {
172
172
this . handle = handle
173
- this . shareId = shareId
173
+ this . sharedId = sharedId
174
174
}
175
175
}
176
176
@@ -180,8 +180,8 @@ class ReferenceValue {
180
180
toReturn [ RemoteReferenceType . HANDLE ] = this . handle
181
181
}
182
182
183
- if ( this . shareId != null ) {
184
- toReturn [ RemoteReferenceType . SHARED_ID ] = this . shareId
183
+ if ( this . sharedId != null ) {
184
+ toReturn [ RemoteReferenceType . SHARED_ID ] = this . sharedId
185
185
}
186
186
187
187
return toReturn
You can’t perform that action at this time.
0 commit comments