[Wtr-general] Can I run arbitrary JavaScript functions from Watir?

Brandon Carlson bcarlso at gmail.com
Sun Feb 26 10:03:55 EST 2006


For example:

<html>
  <head>
  <script>
    function foo() {
      alert("foo()");
    }
  </script>
  </head>
  <body/>
</html>

I would like to write a Watir script that can call this function directly.




More information about the Wtr-general mailing list