Variables casperJS上的fillselector和变量

Variables casperJS上的fillselector和变量,variables,fill,casperjs,Variables,Fill,Casperjs,我有一个简单的问题,但我不知道解决办法 casper.then(function(){ this.fillSelectors(argFormSelector,{ argLoginSelector : argLogin, argPwdSelector : argPwd },true); }); 但在调试模式下,我看不到任何东西。。。它看起来像: [info] [phantom] Step anonymous 3/3 http://urlwebsit

我有一个简单的问题,但我不知道解决办法

casper.then(function(){
    this.fillSelectors(argFormSelector,{
        argLoginSelector : argLogin,
        argPwdSelector : argPwd
    },true);
});
但在调试模式下,我看不到任何东西。。。它看起来像:

[info] [phantom] Step anonymous 3/3 http://urlwebsite/ (HTTP 200) 
[info] [remote] attempting to fetch form element from selector:
'form[action^="/remote.php?act=formTargetGag"]' 
[info] [phantom] Step anonymous 3/3: done in 1950ms.
但是,如果我尝试在没有变量的情况下执行相同的操作,则一切正常:

casper.then(function(){
    this.fillSelectors(argFormSelector,{
'input[id="login_email"]': argLogin,
'input[id="login_password"]':argPwd
},true);
});
--日志--

[info] [remote] attempting to fetch form element from selector: 'form[action^="/remote.php?act=formTargetGag"]' 
[debug] [remote] Set "email" field value to spider.batman.93@mail.ru 
[debug] [remote] Set "password" field value to ********* [info] [remote] submitting form to /remote.php?act=formTargetGag, HTTP POST
所以我的问题是:为什么我不能在FillSelector中使用变量?我的意思是在左边,因为在右边,一切都好,你们可以看到

我将数据放入如下变量中:

var a = { argLoginSelectors: argLogin, argPwdSelectors: argPwd}
for(i in a)
 console.log(i+':'+a[i]);
this.fillSelectors(argFormSelector,a,true);
但什么也没发生。我也有同样的记录:

[info] [phantom] Step anonymous 3/3 http://urlwebsite/ (HTTP 200) 
[info] [remote] attempting to fetch form element from selector:
'form[action^="/remote.php?act=formTargetGag"]' 
[info] [phantom] Step anonymous 3/3: done in 1950ms.
请帮帮我:我做错了什么?
另外,很抱歉我的英语不好。

您在argLoginSelectors和argPwdSelectors中有哪些功能?