proximus_auto_add_vol_pack.py 文件源码

python
阅读 33 收藏 0 点赞 0 评论 0

项目:proximus_auto_add_vol_pack 作者: salcin 项目源码 文件源码
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()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号