Getting "cookies are disabled" error message when doing Amazon popup sign in

14 views
Skip to first unread message

JeeGurg

unread,
Jan 12, 2019, 3:00:32 PM1/12/19
to CasperJS

Using CasperJS,


I am trying to Sign into woot.com using "Login With Amazon". You can try yourself here

This opens an Amazon Sign in popup. I enter my username and password but then it goes to "Please enable cookies" error page. This is only happening on popups. sign in works on regular windows. How can I get cookies working for popups on CasperJS?


Here is my code:


this.withPopup(/ap\/signin/, function login() {
    this.waitForSelector("form[name = signIn]", function () {
        this.fillSelectors("form[name = signIn]", {
            "input[name = email]" : "em...@example.com",
            "input[name = password]" : "password"
        }, true);
    });
});
Reply all
Reply to author
Forward
0 new messages