File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
javascript/node/selenium-webdriver/bidi Expand file tree Collapse file tree 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'
2525const VALUE_CONSTANT = 'value'
2626const RemoteReferenceType = {
2727 HANDLE : 'handle' ,
28- SHARED_ID : 'shareId ' ,
28+ SHARED_ID : 'sharedId ' ,
2929}
3030
3131class LocalValue {
@@ -165,12 +165,12 @@ class RemoteValue {
165165}
166166
167167class ReferenceValue {
168- constructor ( handle , shareId ) {
168+ constructor ( handle , sharedId ) {
169169 if ( handle === RemoteReferenceType . HANDLE ) {
170- this . handle = shareId
170+ this . handle = sharedId
171171 } else {
172172 this . handle = handle
173- this . shareId = shareId
173+ this . sharedId = sharedId
174174 }
175175 }
176176
@@ -180,8 +180,8 @@ class ReferenceValue {
180180 toReturn [ RemoteReferenceType . HANDLE ] = this . handle
181181 }
182182
183- if ( this . shareId != null ) {
184- toReturn [ RemoteReferenceType . SHARED_ID ] = this . shareId
183+ if ( this . sharedId != null ) {
184+ toReturn [ RemoteReferenceType . SHARED_ID ] = this . sharedId
185185 }
186186
187187 return toReturn
You can’t perform that action at this time.
0 commit comments