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 -

javascript - How to bind ViewModel Store to View? -

javascript - Solution fails to pass one test with large inputs? -