J
J
Jairman2020-12-31 10:48:29
Python
Jairman, 2020-12-31 10:48:29

How to add SameSime attribute for cookies in Python?

Such an error is displayed, the code itself can work, but still this bunch of text interferes, so I would like to somehow add support for new cookies for chrome, I write through selenium
5e0afcda1faf4196385768.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
1
1001001, 2020-12-31
@Jairman

driver.add_cookie({'name': 'SameSite', 'value': 'None'})

Apparently. Naturally, after opening the site where you need to add it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question