Your shopping cart is empty!
There are 2 methods available:
getEval(script): it takes the script as a string, executes it and return the value to which the script evaluates too. In ruby use get_eval or js_eval
To work around this, you need to get the application’s window object using currentwindow = this.browserbot.getCurrentWindow() * If you want to get an element, just use element = this.browserbot.findElement("locator")
currentwindow = this.browserbot.getCurrentWindow()
element = this.browserbot.findElement("locator")