Dashboard > Selenium > ... > Contributed User-Extensions > eval
Selenium Log In View a printable version of the current page.
eval
Added by Dan Fabulich, last edited by Dan Fabulich on Apr 12, 2006  (view change)
Labels: 
(None)

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

Site running on a free Atlassian Confluence Community License granted to OpenQA. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.6 Build:#812 Aug 06, 2007) - Bug/feature request - Contact Administrators