casperjs передает параметры для оценки неудач

casper.then(function(){
 phone_number   = '7wqeqwe6';
 phone_password = 'Teqweqweqw34';

});



casper.thenEvaluate(function(phone,password) {

document.querySelector('input#myTMobile-phone').setAttribute('value',phone);
document.querySelector('input#myTMobile-password').setAttribute('value',password);

//  document.querySelector('form').submit();
}, { 

phone    : phone_number,
password : phone_password

});

это бросает меня

строка (307) "[37; 41; 1mFAIL [0m ReferenceError: Can 'найти переменную: номер телефона

Есть ли способ передать параметры для оценки метода?

Ответы на вопрос(3)

Ваш ответ на вопрос