Skip to content

Commit 5741f60

Browse files
committed
Add android, iphone, ipad, and remote browser options
1 parent 81b2553 commit 5741f60

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

seleniumbase/fixtures/constants.py

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ class Tether:
119119

120120
class ValidBrowsers:
121121
valid_browsers = (
122-
["chrome", "edge", "firefox", "ie", "opera", "phantomjs", "safari"])
122+
["chrome", "edge", "firefox", "ie",
123+
"opera", "phantomjs", "safari",
124+
"android", "iphone", "ipad", "remote"])
123125

124126

125127
class Browser:
@@ -130,6 +132,10 @@ class Browser:
130132
OPERA = "opera"
131133
PHANTOM_JS = "phantomjs"
132134
SAFARI = "safari"
135+
ANDROID = "android"
136+
IPHONE = "iphone"
137+
IPAD = "ipad"
138+
REMOTE = "remote"
133139

134140
VERSION = {
135141
"chrome": None,
@@ -138,7 +144,11 @@ class Browser:
138144
"ie": None,
139145
"opera": None,
140146
"phantomjs": None,
141-
"safari": None
147+
"safari": None,
148+
"android": None,
149+
"iphone": None,
150+
"ipad": None,
151+
"remote": None
142152
}
143153

144154
LATEST = {
@@ -148,7 +158,11 @@ class Browser:
148158
"ie": None,
149159
"opera": None,
150160
"phantomjs": None,
151-
"safari": None
161+
"safari": None,
162+
"android": None,
163+
"iphone": None,
164+
"ipad": None,
165+
"remote": None
152166
}
153167

154168

0 commit comments

Comments
 (0)