def __init__(self):
self.cookies = None
path = "C:\Program Files (x86)\Google\Chrome\chromedriver.exe"
chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument("--incognito")
self.driver = webdriver.Chrome(service_args=['--load-images=no'], executable_path=path,
chrome_options=chrome_options)
self.action = ActionChains(self.driver)
self.retry_login()
评论列表
文章目录