You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! In a particular case of use of Selenium-Requests I realize that is impossible to ignore cookies when making a request, even using the kwarg cookies=[]. Looking in the code I saw that this option is not used as primary option, but only to give extra cookie(s) for those of the session, that are always used.
To solve my problem, I created the boolean kwarg "ignore_cookies", including the following code in line 209 of request.py file:
if kwargs.get("ignore_cookies", False):
del kwargs["ignore_cookies"]
del kwargs["cookies"]
To make Selenium-Request more robust and useful to other users, I would like to suggest this change for this module.
The text was updated successfully, but these errors were encountered:
Pardon me, but isn't the ultimate goal of Selenium-Requests is to capture the cookies from webdriver to feed it into requests ? Why would you want to ignore cookies ? Instead you can you the old Requests module.
Hi! In a particular case of use of Selenium-Requests I realize that is impossible to ignore cookies when making a request, even using the kwarg cookies=[]. Looking in the code I saw that this option is not used as primary option, but only to give extra cookie(s) for those of the session, that are always used.
To solve my problem, I created the boolean kwarg "ignore_cookies", including the following code in line 209 of request.py file:
To make Selenium-Request more robust and useful to other users, I would like to suggest this change for this module.
The text was updated successfully, but these errors were encountered: