Selenium – Web Browser Automation
Selenium – Web Browser Automation
What is Selenium?
Selenium automates browsers. That’s it. What you do with that power is entirely up to you. Primarily it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well.
Selenium has the support of some of the largest browser vendors who have taken (or are taking) steps to make Selenium a native part of their browser. It is also the core technology in countless other browser automation tools, APIs and frameworks.
Which part of Selenium is appropriate for me?
If you want to
- create quick bug reproduction scripts
- create scripts to aid in automation-aided exploratory testing
Then you want to use Selenium IDE; a Firefox add-on that will do simple record-and-playback of interactions with the browser
If you want to
- create robust, browser-based regression automation
- scale and distribute scripts across many environments
Then you want to use Selenium WebDriver; a collection of language specific bindings to drive a browser — the way it is meant to be driven.
Selenium WebDriver is the successor of Selenium Remote Control which has been officially deprecated. The Selenium Server (used by both WebDriver and Remote Control) now also includes built-in grid capabilities.