What is Selenium?
Selenium automates browsers. That is it! What you do with that power is totally up to you. It basically lets you to automate your actions in a web browser and save them as automated tests that you can replay at a later time. Essentially, it is for automating web applications for testing purposes, however is absolutely not restricted to only that. Exhausting web-based administration tasks can (and ought to!) be automated too.
Selenium has the support of a portion of the biggest browser vendors who have taken (or are taking) steps to make Selenium a native part of their program. It is likewise the core technology in countless other browser automation tools, APIs and frameworks.
Which part of Selenium is appropriate for me?
1) When you need to
- Create robust, browser-based regression automation suites and tests
- Scale and distribute scripts across many environments
At that point you need to use Selenium WebDriver; a gathering of language specific bindings to drive a browser – the way it is intended to be driven.
Selenium WebDriver is the successor of Selenium Remote Control which has been officially deplored. The Selenium Server (utilized by both WebDriver and Remote Control) now likewise incorporates built-in grid capabilities.
2) When you need to
- Make fast bug reproduction scripts
- Make scripts to help in automation-aided exploratory testing
When using Selenium IDE; a Firefox add-on that will do straightforward record-and-playback of interactions with the browser.
When other companies charged truckloads of money to use their automation tools, Selenium was “free.” By selecting open source Selenium, the makers gifted the tool with two things: boundless reach and boundless abilities.
With different tools, you were constrained depending on the amount you could pay. However, anybody could simply go to the Selenium website, download the most latest version, and begin using it immediately. At last, small testing teams could shake the shackles that bound them to the overrated companies for so long.
However, the other key to open-source is that it’s not just free code, it’s likewise completely modifiable. So if bigger teams needed to change it to fit their needs, they could. When someone needed to add more features to it and impart it to the world, they could (this is the means by which the Selenium IDE was born).
So now you have an automation tool, not worked by one single power, but rather built by anyone who needed to take a shot at it. This opened the gates for development that a some of the companies were incapable for, and ultimately led to it’s widespread appeal.