Python getting cookies from webpage set by javascript without selenium -


i have been working on automation script requires cookie value set javascript within webpage being requested in script. there way cookies set javascript without using selenium? in testing selenium slow headless browser. need better (quicker) method in getting these cookies. appreciated!

request's session object handles traditional cookies automatically you.

if these cookies set javascript, you'll have @ js code "emulate" them , manually set them, should possible. python won't run js code on own, though.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -