Selenium getEval引发了一个异常:missing;声明前

Selenium getEval引发了一个异常:missing;声明前,selenium,selenium-rc,Selenium,Selenium Rc,SeleniumgetEval引发错误:错误:getEval(${descr}):引发异常:缺少;在语句之前 代码: 问题似乎出在我的javascript表达式中:window.jQuery('meta[name=description')).attr('content') …虽然它在浏览器控制台中工作 用另一种表情。。。 window.jQuery('.logo').height() ... 同样的代码工作: var soda = require('soda') , assert =

Selenium
getEval
引发错误:
错误:getEval(${descr}):引发异常:缺少;在语句之前

代码:

问题似乎出在我的javascript表达式中:
window.jQuery('meta[name=description')).attr('content')

…虽然它在浏览器控制台中工作

用另一种表情。。。
window.jQuery('.logo').height()
... 同样的代码工作:

var soda = require('soda')
    , assert = require('assert');
var browser = soda.createClient({
    host: 'localhost'
    , port: 4444
    , url: 'http://jquery.com'
    , browser: 'firefox'
});
browser.session(function(err){
    browser.open('/', function(err, body, res){
        browser.storeEval("window.jQuery('.logo').height();", "height", function(err, body, res){
            browser.getEval('${height}',function(err,val){
                if(err !== null) throw err
                console.log(val)
                browser.testComplete(function(){ });
            });
        });
    });
})
var soda = require('soda')
    , assert = require('assert');
var browser = soda.createClient({
    host: 'localhost'
    , port: 4444
    , url: 'http://jquery.com'
    , browser: 'firefox'
});
browser.session(function(err){
    browser.open('/', function(err, body, res){
        browser.storeEval("window.jQuery('.logo').height();", "height", function(err, body, res){
            browser.getEval('${height}',function(err,val){
                if(err !== null) throw err
                console.log(val)
                browser.testComplete(function(){ });
            });
        });
    });
})