标签: javascript python selenium web-scraping
我正在使用selenium和python。我需要知道是否通过javascript设置了特定的cookie。有没有办法做到这一点?
答案 0 :(得分:0)
我使用https://github.com/carhartl/jquery-cookie完美无缺。
阅读Cookie:
$.cookie('the_cookie'); // => "the_value" $.cookie('not_existing'); // => undefined