Selenium/How-to/Use MediaWiki API

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

You can use the MediaWiki action API for testing, reusing parts of Selenium/Stack, but without Selenium.

Examples will:


 * Check if a page exists using MediaWiki action API.

Stack
The stack:

Advantages

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

Disadvantages

 * Another tool to learn (testing framework).

Output
Everything is fine.

There is a problem.