requestium
requestium copied to clipboard
avoid GET when using transfer_session_cookies_to_driver()
"It also allows you to override the domain before adding it, and avoid making this GET" How do I avoid making GET to the domain when I transfer session cookies to the driver? or is it possible?
The problem I'm facing is that after I obtained access of domain A through a requests session, I want to pass the session cookies from requests to webdriver, but it raise error "selenium.common.exceptions.InvalidCookieDomainException: Message: invalid cookie domain: Cookie 'domain' mismatch" becaue I couldn't access domain A by driver before passing the session cookies to the driver?
Thanks!