Transferring requests.Session() cookies to a selenium web driver in Python Transferring requests.Session() cookies to a selenium web driver in Python selenium selenium

Transferring requests.Session() cookies to a selenium web driver in Python


I don't believe it is possible to do that natively. There is, however, an extension to Selenium called selenium-requests that you should be able to use.

EDIT:

Try adding the following to your code. Upon reading the source, this should work (and use the requests Session auto-initialized during the POST request.

response = driver.request('GET', logged_in_data_url)