How to Login by filling the form in CasperJs

前端 未结 4 833
闹比i
闹比i 2021-01-07 23:36

Following is the hlml of the login form that I have

4条回答
  •  青春惊慌失措
    2021-01-08 00:04

    Hmmm.. Follow that with:

    casper.then(function () {
        this.evaluate(function () {
            $('form#user-login').submit();
        });
    });
    

提交回复
热议问题