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
Post a Comment