eval

description

Evaluates any arbitrary JavaScript, as needed

  • script:the code to test.

example of use

eval selenium.page(); selenium.browserbot.getCurrentWindow().alert('Hello');  
assertAlert Hello  

notes

  • This command will fail gracefully if your evaluation throws an exception.

license

This user extension is available under Apache License 2.0. It is Copyright ThoughtWorks, Inc. 2006.

download

eval

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.