Exemplo n.º 1
0
 def is_supported(cls, browser_type):
     if browser_type.startswith('cros'):
         return False
     if sys.platform.startswith('linux'):
         return True
     if browser_type == 'any':
         return android_browser_finder.CanFindAvailableBrowsers()
     return browser_type.startswith('android')
Exemplo n.º 2
0
 def is_supported(cls, browser_type):
     if browser_type == 'any':
         return android_browser_finder.CanFindAvailableBrowsers()
     return browser_type.startswith('android')