Automate Your Web Browser Actions by Selenium
This article introduces a Firefox extension named Selenium IDE to automate your manual browser actions.
Have you been tired about some boring repeated actions with web browsers like login some sites or click top 20 your favourite fashion news? Yes, doing manually is a waste of time. Today, please let me show how to automate your web browser actions by Selenium.
Selenium is an open source toolkit for web applications automation test, supporting almost all types of web browsers like IE,Firefox,Opera etc.Selenium can drive web browsers to simulate human actions like clicking a button, input data etc, also support recording users’ operations and translating actions scripts to code of several programming languages such as Java,Python… In one word, Selenium is an powerful toolkit for professional software test, but it’s also easy enough to use by usual web users.
Selenium Homepage is here: http://seleniumhq.org
Selenium contains several components: Selenium RC, Selenium IDE, Selenium Core… As our surf automation purpose, we can finish it by Selenium IDE. Selenium IDE is a plug in for Firefox, provides friendly interfaces to record and drive functions. OK, let’s begin now:
- Download Selenium IDE here, and when download is complete, Firefox will prompt if install this plug in, choose YES, then Selenium IDE will soon be installed in a while.
- After you restart your Firefox, you will find Selenium IDE at Menu->Tools->Selenium IDE.If you are ready to record your repeated actions, please start by click it.
- When you open main UI of Selenium IDE, as you can see, the top-right red circle button is keeping pushed, which means now Selenium IDE is ready to detect all browser actions from you.
- Next, let me take a google search for example. I type http://www.google.com in Firefox, go. At simple search input control, I type “Associated Content”, click search button. And get results.
- I go back to Selenium IDE, and stop recording. Then you will find all actions just now has been written as scripts by Selenium IDE, each line contains operation information: command, target,value. “Command” stand for user’s operation, like click, input data etc. “Target” means which web control you operated on. If you choose “source “tab ,you will see html codes.
- After recording, please set a time interval between each actions, maybe you want to see a slower or quicker automation screen, so right click-> Insert New Command, type “SetSpeed” for command, set “15000? for Target, 15000 means time interval is 15 seconds.
- All are ready, now just click the “Play the current test case”, you will see Firefox automatically go to google, and type “Associated Content”, search. All of these actions is done by browser itself without your attention. Yes, you could have a cup of coffee, and focus on valuable work you like.please remember save the scripts on your local hard disk in case of next use.
Now you can automate your repeated work by Selenium, in fact Selenium can do much more than what we have done, but for our common web users, the basic automation function has much met our requirements .
-
Web hosting
| By valarthingal | in General
Web host is the name given for companies which provide web hosting. For a site to be available on the internet it m...
-
Youtubeproxy - great free U.S. online web proxy server
| By Jane | in Safety
The web proxy allows you to protect your privacy and hide your identity when you surf the web. Youtubeproxy is a fr...
-
How to Preview a Web Page in a Browser in Dreamweaver CS3
| By 5min | in General
In this Dreamweaver CS3 tutorial, learn how once you have created a web page you can preview it the browser of your...
-
Automate Your Web Browser Actions by Selenium
| By TylerCui | in General
This article introduces a Firefox extension named Selenium IDE to automate your manual browser actions....
-
How to get the Firefox Web Browser
| By jl5080 | in General
Are you tired of all the virus, trojan, worm and malware associated with Windows Internet Explorer? Did you know th...
-
How to Do Laptop Screen Repair | By guitarguy | in General
Laptop computers' screens are very fragile and can break easily. There are a number of things that can actually go ...
-
How to Find Laptop Temperature | By guitarguy | in General
Laptop computers temperatures can affect the performance of the machine. It is important to know how to find laptop...
-
How to Get Used Cheap Laptops | By guitarguy | in General
Used cheap laptops are easy to come by, but how do get the best deal? Used laptops can either be previously owned o...
-
How To Earn Farmville Dollars | By twconroy | in General
A brief guide on how to earn Farmville dollars....
-
The Hoosier Blonde Guru On Blogging for Money | By Becca1962 | in General
I buzz up and do other nifty things that have buttons the blonde can push easily and get some kind of result. It am...
-
New features of Firefox 3.5 | By TylerCui | in General
After few difficult months' development and several delays, Mozilla will introduce Firefox 3.5 RC1 in the near futu...
-
New Chrome 2.0 Release with Speeding Up 30% | By TylerCui | in Web Development
Google recently announced in its official blog that the latest Chrome 2.0 introduced a new version of WebKit, and s...
-
Automate Your Web Browser Actions by Selenium | By TylerCui | in General
This article introduces a Firefox extension named Selenium IDE to automate your manual browser actions....








No comments yet.