webdriver cookies transfer to request session
firstly, get cookie:
browser.get_cookies()
then transfer to requests session:
cookies = login()
for cookie in cookies:
session.cookies.set(cookie['name'], cookie['value'])
firstly, get cookie:
browser.get_cookies()
then transfer to requests session:
cookies = login()
for cookie in cookies:
session.cookies.set(cookie['name'], cookie['value'])