Selenium/How-to/Use MediaWiki API

This tutorial will assume that you are running tests from your machine, targeting beta cluster. Code from this page is available at repository. For more examples see Selenium/Node.js.

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

 * Assertions.
 * Testing framework (setup, teardown, reporting...).

Disadvantages

 * Several new tools to learn.