code: def set_page_load_timeout(self, time_to_wait):
          
          try:
              self.execute(Command.SET_TIMEOUTS, {
                  'pageLoad': int(float(time_to_wait) * 1000)})
          except WebDriverException:
              self.execute(Command.SET_TIMEOUTS, {
                  'ms': float(time_to_wait) * 1000,
                  'type': 'page load'})
docs: Set the amount of time to wait for a page load to complete
             before throwing an error.
  
          :Args:
           - time_to_wait: The amount of time to wait
  
          :Usage:
              ::
  
                  driver.set_page_load_timeout(30)