diff --git a/DrissionPage/_functions/cookies.py b/DrissionPage/_functions/cookies.py index fad305d..722a52f 100644 --- a/DrissionPage/_functions/cookies.py +++ b/DrissionPage/_functions/cookies.py @@ -127,8 +127,7 @@ def set_tab_cookies(page, cookies): if cookie.get('domain', None): try: page._run_cdp_loaded('Network.setCookie', **cookie) - if is_cookie_in_driver(page, cookie): - continue + continue except Exception: pass