Examples

View this detailed example of how to automate a search on Google.

Here are several simple examples. Many people also find our unit tests to be useful examples of the different Watir commands. These files are also conveniently packaged in a bonus-zip that you can download.

For more extensive examples, see these test suites for open source projects.


Watir is released under a BSD license | Hosted by RubyForge and OpenQA
Logo by Jacinda Scott | Web design by webgen and Andreas Viklund