Skip to content

Commit 40f8b7c

Browse files
twalpolep0deje
authored andcommitted
Remove no longer used bridge methods
1 parent b65035b commit 40f8b7c

File tree

1 file changed

+0
-49
lines changed

1 file changed

+0
-49
lines changed

rb/lib/selenium/webdriver/remote/bridge.rb

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -441,55 +441,6 @@ def submit_element(element)
441441
'if (arguments[0].dispatchEvent(e)) { arguments[0].submit() }', form.as_json)
442442
end
443443

444-
def drag_element(element, right_by, down_by)
445-
execute :drag_element, {id: element}, {x: right_by, y: down_by}
446-
end
447-
448-
def touch_single_tap(element)
449-
execute :touch_single_tap, {}, {element: element}
450-
end
451-
452-
def touch_double_tap(element)
453-
execute :touch_double_tap, {}, {element: element}
454-
end
455-
456-
def touch_long_press(element)
457-
execute :touch_long_press, {}, {element: element}
458-
end
459-
460-
def touch_down(x, y)
461-
execute :touch_down, {}, {x: x, y: y}
462-
end
463-
464-
def touch_up(x, y)
465-
execute :touch_up, {}, {x: x, y: y}
466-
end
467-
468-
def touch_move(x, y)
469-
execute :touch_move, {}, {x: x, y: y}
470-
end
471-
472-
def touch_scroll(element, x, y)
473-
if element
474-
execute :touch_scroll, {}, {element: element,
475-
xoffset: x,
476-
yoffset: y}
477-
else
478-
execute :touch_scroll, {}, {xoffset: x, yoffset: y}
479-
end
480-
end
481-
482-
def touch_flick(xspeed, yspeed)
483-
execute :touch_flick, {}, {xspeed: xspeed, yspeed: yspeed}
484-
end
485-
486-
def touch_element_flick(element, right_by, down_by, speed)
487-
execute :touch_flick, {}, {element: element,
488-
xoffset: right_by,
489-
yoffset: down_by,
490-
speed: speed}
491-
end
492-
493444
def screen_orientation=(orientation)
494445
execute :set_screen_orientation, {}, {orientation: orientation}
495446
end

0 commit comments

Comments
 (0)