Selenium/Explanation/Stack

This page explains stack from Selenium/Node.js page. This tutorial will assume that you are running tests from your machine, targeting beta cluster. Code from this page is available at selenium-mediawiki-js repository.

Examples will:


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

The stack:

Selenium
You can use Selenium without a testing framework.

Advantages

 * Minimal stack with assertions.

Disadvantages

 * No testing framework (setup, teardown, reporting...).

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

Output
Everything is fine.

There is a problem.