code: def get_driver_platform(self):
          
          platform = ''
          if 'platform' in self.driver.desired_capabilities:
              platform = self.driver.desired_capabilities['platform']
          elif 'platformName' in self.driver.desired_capabilities:
              platform = self.driver.desired_capabilities['platformName']
          return platform
docs: Get driver platform where tests are running
          :return: platform name