We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6b9f40 commit abe47f9Copy full SHA for abe47f9
seleniumbase/fixtures/base_case.py
@@ -3235,6 +3235,15 @@ def inspect_html(self):
3235
print(results)
3236
return(results)
3237
3238
+ def is_chromium(self):
3239
+ """ Return True if the browser is Chrome, Edge, or Opera. """
3240
+ self.__check_scope()
3241
+ chromium = False
3242
+ browser_name = self.driver.__dict__["capabilities"]["browserName"]
3243
+ if browser_name in ("chrome", "edge", "msedge", "opera"):
3244
+ chromium = True
3245
+ return chromium
3246
+
3247
def get_google_auth_password(self, totp_key=None):
3248
""" Returns a time-based one-time password based on the
3249
Google Authenticator password algorithm. Works with Authy.
0 commit comments