Skip to content

driver.save_cookies doesnt work. #2840

Answered by mdmintz
Vrackko asked this question in Q&A
Discussion options

You must be logged in to vote

See #2705 (comment)
sb has all the cookie methods (not the driver).

sb.save_cookies(name="cookies.txt")
sb.load_cookies(name="cookies.txt")
sb.delete_all_cookies()  # Duplicate: self.clear_all_cookies()
sb.delete_saved_cookies(name="cookies.txt")
sb.get_saved_cookies(name="cookies.txt")
sb.get_cookie(name)
sb.get_cookies()
sb.add_cookie(cookie_dict)
sb.add_cookies(cookies)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Vrackko
Comment options

@mdmintz
Comment options

Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants