Selenium/Node.js

This tutorial will assume that you are running tests from your machine, targeting beta cluster.

Examples will:


 * open browser
 * go to main page
 * check that Log in link is present
 * close browser

The stack:

Code from this page is available at selenium-mediawiki-js repository.

Advantages

 * Simple stack with assertions and testing framework (setup, teardown, reporting...).

Disadvantages

 * Another tool to learn (testing framework).

Code
Save the code in file (for example ) and run it.

Output
Everything is fine.

There is a problem.