示例#1
0
 def __init__(self, version="latest",
              os_type=utils.os_type(),
              name="edgedriver",
              url="https://msedgedriver.azureedge.net",
              latest_release_url="https://msedgedriver.azureedge.net/"
                  "LATEST_STABLE"):
     super(EdgeChromiumDriverManager, self).__init__()
     self.driver = EdgeChromiumDriver(version=version,
                                      os_type=os_type,
                                      name=name,
                                      url=url,
                                      latest_release_url=latest_release_url)
示例#2
0
 def __init__(self, version="latest",
              os_type=utils.os_type(),
              path=None,
              name="edgedriver",
              url="https://msedgedriver.azureedge.net",
              latest_release_url="https://msedgedriver.azureedge.net/"
                                 "LATEST_RELEASE",
              log_level=None):
     super().__init__(path, log_level)
     self.driver = EdgeChromiumDriver(version=version,
                                      os_type=os_type,
                                      name=name,
                                      url=url,
                                      latest_release_url=latest_release_url)
示例#3
0
 def __init__(
     self,
     version="latest",
     os_type=utils.os_type(),
     path=None,
     name="edgedriver",
     url="https://msedgedriver.azureedge.net",
     latest_release_url="https://msedgedriver.azureedge.net/LATEST_RELEASE",
     log_level=None,
     print_first_line=None,
     cache_valid_range=1,
 ):
     super().__init__(path, log_level, print_first_line, cache_valid_range)
     self.driver = EdgeChromiumDriver(
         version=version,
         os_type=os_type,
         name=name,
         url=url,
         latest_release_url=latest_release_url,
     )