Skip to content

Commit 4b38556

Browse files
committed
[rb] remove invalid methods
1 parent 8ba426c commit 4b38556

2 files changed

Lines changed: 0 additions & 16 deletions

File tree

rb/lib/selenium/webdriver/common/driver.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,6 @@ def action(**opts)
127127
bridge.action(**opts)
128128
end
129129

130-
def mouse
131-
bridge.mouse
132-
end
133-
134-
def keyboard
135-
bridge.keyboard
136-
end
137-
138130
#
139131
# Opens the specified URL in the browser.
140132
#

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -372,14 +372,6 @@ def action(deprecated_async = nil, async: false, devices: [], duration: 250)
372372
end
373373
alias_method :actions, :action
374374

375-
def mouse
376-
raise Error::UnsupportedOperationError, '#mouse is no longer supported, use #action instead'
377-
end
378-
379-
def keyboard
380-
raise Error::UnsupportedOperationError, '#keyboard is no longer supported, use #action instead'
381-
end
382-
383375
def send_actions(data)
384376
execute :actions, {}, {actions: data}
385377
end

0 commit comments

Comments
 (0)