Skip to content

Commit 003bbe6

Browse files
1 parent d0b6198 commit 003bbe6

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

lib/appium_lib/common/patch.rb

+1-22
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,5 @@
11
# encoding: utf-8
22

3-
# Add status to WebDriver
4-
# https://code.google.com/p/selenium/issues/detail?id=5669
5-
class Selenium::WebDriver::Driver
6-
# @private
7-
def status
8-
bridge.status
9-
end
10-
end
11-
12-
class Selenium::WebDriver::Remote::Bridge
13-
# @private
14-
def status
15-
raw_execute :status
16-
end
17-
end
18-
19-
class Selenium::WebDriver::Remote::Bridge
20-
command :status, :get, 'status'
21-
end
22-
# end Add status to WebDriver
23-
243
module Appium::Common
254
# Implement useful features for element.
265
class Selenium::WebDriver::Element
@@ -174,4 +153,4 @@ def error_message
174153

175154
msg
176155
end
177-
end
156+
end

0 commit comments

Comments
 (0)