def __init__(self, user, pwd, repeat, debug):
self.debug = debug
self.set_debug() # if self.debug = yes view procedure step by step in the browser
# don't loading the images to optimize the speed of requests
chromeOptions = webdriver.ChromeOptions()
prefs = {"profile.managed_default_content_settings.images":2}
chromeOptions.add_experimental_option("prefs",prefs)
self.browser = webdriver.Chrome(chrome_options=chromeOptions)
self.login(user, pwd)
self.go_to_internet()
i = 1
while i <= repeat:
i += 1
self.go_to_service()
self.confirmed()
self.logout()
proximus_auto_add_vol_pack.py 文件源码
python
阅读 33
收藏 0
点赞 0
评论 0
评论列表
文章目录