Facebook test accounts using selenium - failing to log in my fake users

北城余情 提交于 2019-12-01 00:12:35

Visit Facebook home page before trying to visit login url:

visit "https://www.facebook.com"
visit @fake_user.login_url

I haven't checked the headers, but I guess Facebook sets some cookies that are needed to log in.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!