def __init__(self):
try:
self.driver = webdriver.Remote(command_executor='http://chrome:4444/wd/hub',
desired_capabilities=DesiredCapabilities.CHROME)
except URLError as e:
print("Failed to connect!")
raise e
评论列表
文章目录