File tree 2 files changed +6
-3
lines changed
rb/lib/selenium/webdriver/common
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ def unwrap_script_result(arg)
25
25
end
26
26
27
27
def element_id_from ( id )
28
- id [ 'ELEMENT' ]
28
+ id [ 'ELEMENT' ] or id [ 'element-6066-11e4-a52e-4f735466cecf' ]
29
29
end
30
30
31
31
def parse_cookie_string ( str )
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ def send_keys(*args)
133
133
#
134
134
# Note that the events fired by this event may not be as you'd expect. In particular, we don't
135
135
# fire any keyboard or mouse events. If you want to ensure keyboard events are
136
- # fired, consider using #send_keys with the backspace key. To ensure you get a change event,
136
+ # fired, consider using #send_keys with the backspace key. To ensure you get a change event,
137
137
# consider following with a call to #send_keys with the tab key.
138
138
#
139
139
@@ -272,7 +272,10 @@ def to_json(*args)
272
272
#
273
273
274
274
def as_json ( opts = nil )
275
- { :ELEMENT => @id }
275
+ {
276
+ :ELEMENT => @id ,
277
+ "element-6066-11e4-a52e-4f735466cecf" => @id
278
+ }
276
279
end
277
280
278
281
private
You can’t perform that action at this time.
0 commit comments