TypeError:get_cookies()接受1个位置参数,但给出了2个

时间:2019-08-29 17:12:12

标签: cookies save driver

我遇到了一个问题,我希望chromedriver自己制作一个cookie后再保存它

File "runme2.py", line 104, in <module> pickle.dump( driver.get_cookies('.ROBLOSECURITY') ,open("cookies.pkl","wb")) TypeError: get_cookies() takes 1 positional argument but 2 were given

如果有人可以帮助我,那将非常感谢!

pickle.dump( driver.get_cookies('.ROBLOSECURITY') ,open("cookies.pkl","wb"))

0 个答案:

没有答案