MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / is_platform_valid

Method is_platform_valid

py/conftest.py:468–475  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

466
467 @property
468 def is_platform_valid(self):
469 if self.driver_class.lower() == "safari" and self.exe_platform != "Darwin":
470 return False
471 if self.driver_class.lower() == "ie" and self.exe_platform != "Windows":
472 return False
473 if "webkit" in self.driver_class.lower() and self.exe_platform == "Windows":
474 return False
475 return True
476
477 @property
478 def is_remote(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected